dotfiles/root/etc/ssh/sshd_config

15 lines
343 B
Plaintext

# 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