Append, don't overwrite

This commit is contained in:
DarkFeather 2018-02-13 16:52:55 -06:00
parent 861587a99e
commit 93a757a586

View File

@ -25,7 +25,7 @@ function initialSSHCommand() {
echo 'chmod 0700 ${HOME} ${HOME}/.ssh' echo 'chmod 0700 ${HOME} ${HOME}/.ssh'
echo 'chmod 0600 ${HOME}/.ssh/authorized_keys' echo 'chmod 0600 ${HOME}/.ssh/authorized_keys'
echo 'chown -R `whoami`":" ${HOME}' echo 'chown -R `whoami`":" ${HOME}'
echo 'cat > ${HOME}/.ssh/authorized_keys' echo 'cat >> ${HOME}/.ssh/authorized_keys'
} }