22 lines
364 B
Plaintext
22 lines
364 B
Plaintext
Include /etc/ssh/sshd_config.d/*.conf
|
|
|
|
Port 22
|
|
PermitRootLogin yes
|
|
PubkeyAuthentication yes
|
|
PasswordAuthentication no
|
|
|
|
KbdInteractiveAuthentication no
|
|
|
|
UsePAM yes
|
|
|
|
AllowAgentForwarding yes
|
|
X11Forwarding no
|
|
PrintMotd no
|
|
PrintLastLog yes
|
|
TCPKeepAlive yes
|
|
ClientAliveInterval 300
|
|
ClientAliveCountMax 1
|
|
|
|
AcceptEnv LANG LC_*
|
|
Subsystem sftp /usr/lib/openssh/sftp-server
|