dotfiles/root/etc/ssh/sshd_config

15 lines
343 B
Plaintext
Raw Normal View History

# Remove socket for gpg agent forwarding
StreamLocalBindUnlink yes
{%@@ if profile == "Moria" @@%}
Port 221
{%@@ endif @@%}
X11Forwarding yes
2023-03-01 09:30:05 +02:00
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
2023-03-01 09:30:05 +02:00
Subsystem sftp /usr/lib/ssh/sftp-server