39 lines
667 B
Plaintext
39 lines
667 B
Plaintext
Port 22
|
|
#AddressFamily any
|
|
ListenAddress 0.0.0.0
|
|
#ListenAddress ::
|
|
|
|
HostKey /etc/ssh/ssh_host_rsa_key
|
|
# Ciphers and keying
|
|
#RekeyLimit default none
|
|
|
|
# Logging
|
|
#SyslogFacility AUTH
|
|
#LogLevel INFO
|
|
|
|
# Authentication:
|
|
|
|
#LoginGraceTime 2m
|
|
#PermitRootLogin prohibit-password
|
|
#StrictModes yes
|
|
#MaxAuthTries 6
|
|
#MaxSessions 10
|
|
|
|
PubkeyAuthentication yes
|
|
AuthorizedKeysFile .ssh/authorized_keys
|
|
|
|
PasswordAuthentication no
|
|
PermitEmptyPasswords no
|
|
|
|
AllowAgentForwarding yes
|
|
AllowTcpForwarding yes
|
|
GatewayPorts yes
|
|
X11Forwarding no
|
|
TCPKeepAlive yes
|
|
PermitTunnel yes
|
|
# no default banner path
|
|
#Banner none
|
|
|
|
# override default of no subsystems
|
|
Subsystem sftp /usr/lib/ssh/sftp-server
|