diff --git a/debian/debian-secure.sh b/debian/debian-secure.sh index b437fd6..fdd5826 100644 --- a/debian/debian-secure.sh +++ b/debian/debian-secure.sh @@ -56,7 +56,7 @@ chown $USERNAME:$USERNAME /home/$USERNAME/.ssh echo "$MY_SSH_KEY" > /home/$USERNAME/.ssh/authorized_keys chown $USERNAME:$USERNAME /home/$USERNAME/.ssh/authorized_keys chmod 600 /home/$USERNAME/.ssh/authorized_keys -chmod 600 /home/$USERNAME/.ssh +chmod 700 /home/$USERNAME/.ssh cat < /etc/ssh/sshd_config.d/10-vmh-ssh.conf X11Forwarding no