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