dotfiles/root/etc/ssh/sshd_config

15 lines
343 B
Text
Raw Normal View History

# Remove socket for gpg agent forwarding
StreamLocalBindUnlink yes
{%@@ if profile == "Moria" @@%}
Port 221
{%@@ endif @@%}
X11Forwarding yes
AuthorizedKeysFile .ssh/authorized_keys
PasswordAuthentication no
2020-10-25 13:01:43 +02:00
PermitRootLogin no
ChallengeResponseAuthentication no
UsePAM yes
PrintMotd no # pam does that
Subsystem sftp /usr/lib/ssh/sftp-server