dotfiles/root/etc/ssh/sshd_config

11 lines
286 B
Text

# Remove socket for gpg agent forwarding
StreamLocalBindUnlink yes
X11Forwarding yes
AuthorizedKeysFile .ssh/authorized_keys
PasswordAuthentication no
PermitRootLogin no
ChallengeResponseAuthentication no
UsePAM yes
PrintMotd no # pam does that
Subsystem sftp /usr/lib/ssh/sftp-server