2019-10-12 23:45:00 +08:00
|
|
|
Port ${SSH_LISTEN_PORT}
|
2016-11-28 21:13:18 +08:00
|
|
|
Protocol 2
|
|
|
|
|
2015-10-02 17:56:36 +08:00
|
|
|
AddressFamily any
|
|
|
|
ListenAddress 0.0.0.0
|
|
|
|
ListenAddress ::
|
2016-11-28 21:13:18 +08:00
|
|
|
|
2015-10-02 17:56:36 +08:00
|
|
|
LogLevel INFO
|
2016-11-28 21:13:18 +08:00
|
|
|
|
|
|
|
HostKey /data/ssh/ssh_host_ed25519_key
|
2015-10-02 17:56:36 +08:00
|
|
|
HostKey /data/ssh/ssh_host_rsa_key
|
|
|
|
HostKey /data/ssh/ssh_host_ecdsa_key
|
2020-10-09 14:52:57 +08:00
|
|
|
HostKey /data/ssh/ssh_host_dsa_key
|
2016-11-28 21:13:18 +08:00
|
|
|
|
|
|
|
AuthorizedKeysFile .ssh/authorized_keys
|
|
|
|
|
|
|
|
UseDNS no
|
|
|
|
AllowAgentForwarding no
|
|
|
|
AllowTcpForwarding no
|
|
|
|
PrintMotd no
|
|
|
|
|
|
|
|
PermitUserEnvironment yes
|
2015-10-02 17:56:36 +08:00
|
|
|
PermitRootLogin no
|
2016-11-28 21:13:18 +08:00
|
|
|
ChallengeResponseAuthentication no
|
2015-10-02 17:56:36 +08:00
|
|
|
PasswordAuthentication no
|
2016-11-28 21:13:18 +08:00
|
|
|
PermitEmptyPasswords no
|
|
|
|
|
2019-09-06 04:20:55 +08:00
|
|
|
AllowUsers ${USER}
|
2016-11-28 21:13:18 +08:00
|
|
|
|
|
|
|
Banner none
|
|
|
|
Subsystem sftp /usr/lib/ssh/sftp-server
|
2018-12-12 01:20:04 +08:00
|
|
|
|
2019-10-12 23:45:00 +08:00
|
|
|
AcceptEnv GIT_PROTOCOL
|