30 lines
533 B
Plaintext
30 lines
533 B
Plaintext
|
Port {{ ssh_port }}
|
||
|
#AddressFamily any
|
||
|
#ListenAddress 0.0.0.0
|
||
|
#ListenAddress ::
|
||
|
|
||
|
# Logging
|
||
|
#SyslogFacility AUTH
|
||
|
#LogLevel INFO
|
||
|
|
||
|
#LoginGraceTime 2m
|
||
|
PermitRootLogin prohibit-password
|
||
|
#StrictModes yes
|
||
|
#MaxAuthTries 6
|
||
|
#MaxSessions 10
|
||
|
|
||
|
|
||
|
AuthorizedKeysFile .ssh/authorized_keys .ssh/authorized_keys2 /etc/ssh/auth_keys
|
||
|
PasswordAuthentication no
|
||
|
PermitEmptyPasswords no
|
||
|
|
||
|
ChallengeResponseAuthentication no
|
||
|
UsePAM yes
|
||
|
X11Forwarding yes
|
||
|
PrintMotd no
|
||
|
PrintLastLog yes
|
||
|
UseDNS no
|
||
|
AcceptEnv LANG LC_*
|
||
|
Subsystem sftp /usr/lib/openssh/sftp-server
|
||
|
|