2015-10-02 15:26:36 +05:30
|
|
|
Port 22
|
2016-11-28 18:43:18 +05:30
|
|
|
Protocol 2
|
|
|
|
|
2015-10-02 15:26:36 +05:30
|
|
|
AddressFamily any
|
|
|
|
ListenAddress 0.0.0.0
|
|
|
|
ListenAddress ::
|
2016-11-28 18:43:18 +05:30
|
|
|
|
2015-10-02 15:26:36 +05:30
|
|
|
LogLevel INFO
|
2016-11-28 18:43:18 +05:30
|
|
|
|
|
|
|
HostKey /data/ssh/ssh_host_ed25519_key
|
2015-10-02 15:26:36 +05:30
|
|
|
HostKey /data/ssh/ssh_host_rsa_key
|
|
|
|
HostKey /data/ssh/ssh_host_dsa_key
|
|
|
|
HostKey /data/ssh/ssh_host_ecdsa_key
|
2016-11-28 18:43:18 +05:30
|
|
|
|
|
|
|
AuthorizedKeysFile .ssh/authorized_keys
|
|
|
|
|
|
|
|
UseDNS no
|
|
|
|
AllowAgentForwarding no
|
|
|
|
AllowTcpForwarding no
|
|
|
|
PrintMotd no
|
|
|
|
|
|
|
|
PermitUserEnvironment yes
|
2015-10-02 15:26:36 +05:30
|
|
|
PermitRootLogin no
|
2016-11-28 18:43:18 +05:30
|
|
|
ChallengeResponseAuthentication no
|
2015-10-02 15:26:36 +05:30
|
|
|
PasswordAuthentication no
|
2016-11-28 18:43:18 +05:30
|
|
|
PermitEmptyPasswords no
|
|
|
|
|
2015-10-02 15:26:36 +05:30
|
|
|
AllowUsers git
|
2016-11-28 18:43:18 +05:30
|
|
|
|
|
|
|
Banner none
|
|
|
|
Subsystem sftp /usr/lib/ssh/sftp-server
|
|
|
|
UsePrivilegeSeparation no
|