15 lines
No EOL
444 B
Text
Executable file
15 lines
No EOL
444 B
Text
Executable file
# Отключение аутентификации по паролю
|
|
PasswordAuthentication no
|
|
ChallengeResponseAuthentication no
|
|
|
|
# Включение аутентификации по ключу
|
|
PubkeyAuthentication yes
|
|
AuthorizedKeysFile .ssh/authorized_keys
|
|
|
|
# Дополнительные настройки безопасности
|
|
PermitRootLogin no
|
|
X11Forwarding no
|
|
UsePAM yes
|
|
PrintMotd no
|
|
ClientAliveInterval 180
|
|
ClientAliveCountMax 3 |