2010-09-09 01:05:15 +02:00
|
|
|
Port 2222
|
|
|
|
Protocol 2
|
|
|
|
|
|
|
|
HostKey /etc/ssh/ssh_host_rsa_key
|
2017-08-17 16:01:05 +02:00
|
|
|
HostKey /etc/ssh/ssh_host_ecdsa_key
|
|
|
|
HostKey /etc/ssh/ssh_host_ed25519_key
|
2010-09-09 01:05:15 +02:00
|
|
|
UsePrivilegeSeparation yes
|
|
|
|
|
|
|
|
KeyRegenerationInterval 3600
|
|
|
|
ServerKeyBits 768
|
|
|
|
SyslogFacility AUTH
|
|
|
|
LogLevel INFO
|
|
|
|
LoginGraceTime 120
|
2017-07-21 15:54:38 +02:00
|
|
|
PermitRootLogin without-password
|
2010-09-09 01:05:15 +02:00
|
|
|
StrictModes yes
|
|
|
|
RSAAuthentication yes
|
|
|
|
PubkeyAuthentication yes
|
|
|
|
AuthorizedKeysFile %h/.ssh/authorized_keys
|
|
|
|
|
|
|
|
IgnoreRhosts yes
|
|
|
|
RhostsRSAAuthentication no
|
|
|
|
HostbasedAuthentication no
|
|
|
|
PermitEmptyPasswords no
|
|
|
|
ChallengeResponseAuthentication no
|
|
|
|
PasswordAuthentication no
|
|
|
|
|
|
|
|
X11Forwarding no
|
|
|
|
X11DisplayOffset 10
|
|
|
|
PrintMotd no
|
|
|
|
PrintLastLog yes
|
|
|
|
TCPKeepAlive yes
|
|
|
|
UseLogin no
|
2017-08-01 16:38:38 +02:00
|
|
|
UseDNS no
|
2010-09-09 01:05:15 +02:00
|
|
|
|
|
|
|
Subsystem sftp /usr/lib/openssh/sftp-server
|
|
|
|
|
2016-12-20 13:33:08 +01:00
|
|
|
AllowUsers root@0.0.0.0/0
|