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
|
|
|
|
#LogLevel DEBUG
|
|
|
|
|
2017-10-20 04:45:14 +00:00
|
|
|
Ciphers chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes128-ctr
|
2018-11-12 14:04:21 +00:00
|
|
|
MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512,hmac-sha2-256
|
2017-10-20 04:45:14 +00:00
|
|
|
KexAlgorithms curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1
|
|
|
|
|
|
|
|
|
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
|