31 lines
557 B
Plaintext
31 lines
557 B
Plaintext
|
Port 22
|
||
|
AddressFamily any
|
||
|
ListenAddress 0.0.0.0
|
||
|
ListenAddress ::
|
||
|
|
||
|
HostKey /etc/ssh/ssh_host_rsa_key
|
||
|
HostKey /etc/ssh/ssh_host_ecdsa_key
|
||
|
HostKey /etc/ssh/ssh_host_ed25519_key
|
||
|
|
||
|
PermitRootLogin no
|
||
|
StrictModes yes
|
||
|
MaxSessions 20
|
||
|
|
||
|
PubkeyAuthentication yes
|
||
|
AuthorizedKeysFile .ssh/authorized_keys
|
||
|
|
||
|
LogLevel INFO
|
||
|
#LogLevel DEBUG
|
||
|
|
||
|
PasswordAuthentication no
|
||
|
ChallengeResponseAuthentication no
|
||
|
UsePAM yes
|
||
|
AllowAgentForwarding no
|
||
|
AllowTcpForwarding no
|
||
|
X11Forwarding no
|
||
|
PermitTTY no
|
||
|
PrintMotd no
|
||
|
UsePrivilegeSeparation sandbox
|
||
|
PermitTunnel no
|
||
|
Subsystem sftp /bin/false
|