Update debian/debian-secure.sh

This commit is contained in:
Minecon724 2025-08-09 21:47:10 +02:00
commit 97e91b34bf

View file

@ -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 <<EOF > /etc/ssh/sshd_config.d/10-vmh-ssh.conf
X11Forwarding no