2017-10-19 17:41:41 +00:00
|
|
|
Port 22
|
|
|
|
AddressFamily any
|
|
|
|
ListenAddress 0.0.0.0
|
|
|
|
ListenAddress ::
|
|
|
|
|
2017-10-20 04:45:14 +00:00
|
|
|
HostKey /sshkeys/host/ssh_host_rsa_key
|
|
|
|
HostKey /sshkeys/host/ssh_host_ed25519_key
|
2017-10-19 17:41:41 +00:00
|
|
|
|
|
|
|
PermitRootLogin no
|
|
|
|
StrictModes yes
|
|
|
|
MaxSessions 20
|
|
|
|
|
|
|
|
PubkeyAuthentication yes
|
|
|
|
AuthorizedKeysFile .ssh/authorized_keys
|
|
|
|
|
|
|
|
LogLevel INFO
|
2017-10-20 04:45:14 +00:00
|
|
|
|
2017-10-19 17:41:41 +00:00
|
|
|
PasswordAuthentication no
|
|
|
|
ChallengeResponseAuthentication no
|
|
|
|
UsePAM yes
|
|
|
|
AllowAgentForwarding no
|
|
|
|
AllowTcpForwarding no
|
|
|
|
X11Forwarding no
|
|
|
|
PermitTTY no
|
|
|
|
PrintMotd no
|
|
|
|
PermitTunnel no
|
|
|
|
Subsystem sftp /bin/false
|
2022-11-24 15:22:39 +00:00
|
|
|
|
|
|
|
ClientAliveInterval 10
|
|
|
|
ClientAliveCountMax 30
|