aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rwxr-xr-xutils/new-publish/setup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/new-publish/setup.sh b/utils/new-publish/setup.sh
index a3b49ab..04748d2 100755
--- a/utils/new-publish/setup.sh
+++ b/utils/new-publish/setup.sh
@@ -86,10 +86,10 @@ Match User publish-copy
}
function setup_ssh_keys() {
- echo "Moving current account's authorized_keys to /etc/ssh/user-authorized-keys/"
mkdir -p /etc/ssh/user-authorized-keys/
# Move only real file, don't do this for symlink
if [ ! -L $HOME/.ssh/authorized_keys ]; then
+ echo "Moving current account's authorized_keys to /etc/ssh/user-authorized-keys/"
cp $HOME/.ssh/authorized_keys /etc/ssh/user-authorized-keys/$SUDO_USER
fi
# Unlike when reside in ~/.ssh/, in /etc/ssh/... auth keys must be readable enough,