updated sshd_config for better default operation before securing system
This commit is contained in:
parent
46ce48664b
commit
c0c9b16cf3
@ -4,16 +4,16 @@
|
||||
|
||||
### Connection settings
|
||||
Port 222
|
||||
ListenAddress your.private.ipv4.address
|
||||
ListenAddress [your:private:ipv6:address:use:square:brackets]
|
||||
#ListenAddress your.private.ipv4.address
|
||||
#ListenAddress [your:private:ipv6:address:use:square:brackets]
|
||||
TCPKeepAlive no
|
||||
ClientAliveInterval 60
|
||||
ClientAliveCountMax 30
|
||||
Protocol 2
|
||||
|
||||
### Authentication settings
|
||||
HostKey /etc/ssh/ed25519.key
|
||||
HostKey /etc/ssh/RSA4096.key
|
||||
#HostKey /etc/ssh/ed25519.key
|
||||
#HostKey /etc/ssh/RSA4096.key
|
||||
#PasswordAuthentication no
|
||||
PasswordAuthentication yes
|
||||
PermitEmptyPasswords no
|
||||
@ -29,7 +29,7 @@ MaxSessions 5
|
||||
PermitRootLogin yes
|
||||
|
||||
### Program settings
|
||||
Banner /etc/ssh/banner
|
||||
#Banner /etc/ssh/banner
|
||||
LogLevel VERBOSE
|
||||
X11Forwarding yes
|
||||
PrintMotd no
|
||||
|
Loading…
Reference in New Issue
Block a user