|
@ -6,4 +6,4 @@ set -x |
|
|
mkdir -p "$HOME/.ssh" |
|
|
mkdir -p "$HOME/.ssh" |
|
|
for f in *.pub; do (printf %s "$(< ${f})"; echo); done >> "$HOME/.ssh/authorized_keys" |
|
|
for f in *.pub; do (printf %s "$(< ${f})"; echo); done >> "$HOME/.ssh/authorized_keys" |
|
|
cp "$HOME/.ssh/authorized_keys" "$HOME/.ssh/authorized_keys.bak" |
|
|
cp "$HOME/.ssh/authorized_keys" "$HOME/.ssh/authorized_keys.bak" |
|
|
sort "$HOME/.ssh/authorized_keys" | uniq | tee "$HOME/.ssh/authorized_keys" |
|
|
|
|
|
|
|
|
sort "$HOME/.ssh/authorized_keys.bak" | uniq | tee "$HOME/.ssh/authorized_keys" |