Append, don't overwrite
This commit is contained in:
@@ -25,7 +25,7 @@ function initialSSHCommand() {
|
||||
echo 'chmod 0700 ${HOME} ${HOME}/.ssh'
|
||||
echo 'chmod 0600 ${HOME}/.ssh/authorized_keys'
|
||||
echo 'chown -R `whoami`":" ${HOME}'
|
||||
echo 'cat > ${HOME}/.ssh/authorized_keys'
|
||||
echo 'cat >> ${HOME}/.ssh/authorized_keys'
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user