updated sshd_config for better default operation before securing system

This commit is contained in:
Asif Bacchus 2019-01-09 01:16:02 -07:00
parent 46ce48664b
commit c0c9b16cf3

View File

@ -4,16 +4,16 @@
### Connection settings ### Connection settings
Port 222 Port 222
ListenAddress your.private.ipv4.address #ListenAddress your.private.ipv4.address
ListenAddress [your:private:ipv6:address:use:square:brackets] #ListenAddress [your:private:ipv6:address:use:square:brackets]
TCPKeepAlive no TCPKeepAlive no
ClientAliveInterval 60 ClientAliveInterval 60
ClientAliveCountMax 30 ClientAliveCountMax 30
Protocol 2 Protocol 2
### Authentication settings ### Authentication settings
HostKey /etc/ssh/ed25519.key #HostKey /etc/ssh/ed25519.key
HostKey /etc/ssh/RSA4096.key #HostKey /etc/ssh/RSA4096.key
#PasswordAuthentication no #PasswordAuthentication no
PasswordAuthentication yes PasswordAuthentication yes
PermitEmptyPasswords no PermitEmptyPasswords no
@ -29,7 +29,7 @@ MaxSessions 5
PermitRootLogin yes PermitRootLogin yes
### Program settings ### Program settings
Banner /etc/ssh/banner #Banner /etc/ssh/banner
LogLevel VERBOSE LogLevel VERBOSE
X11Forwarding yes X11Forwarding yes
PrintMotd no PrintMotd no