Append, don't overwrite
This commit is contained in:
parent
861587a99e
commit
93a757a586
@ -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'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user