dotfiles/root/etc/ssh/sshd_config

14 lines
343 B
Text

# Remove socket for gpg agent forwarding
StreamLocalBindUnlink yes
{%@@ if profile == "Moria" @@%}
Port 221
{%@@ endif @@%}
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