feat(security): tightened files mode for ssh configuration and enabled ipv6 on ssh, along with an increase on max sessions from 3 to 5
This commit is contained in:
parent
3acdd804df
commit
b7ba39bce9
2 changed files with 6 additions and 6 deletions
|
@ -1,14 +1,14 @@
|
|||
AcceptEnv LANG LC_*
|
||||
AddressFamily inet
|
||||
AddressFamily any
|
||||
AllowAgentForwarding no
|
||||
ChallengeResponseAuthentication no
|
||||
ClientAliveCountMax 2
|
||||
ClientAliveInterval 300
|
||||
HostKey /etc/ssh/ssh_host_ed25519_key
|
||||
IgnoreRhosts yes
|
||||
LogLevel VERBOSE
|
||||
LogLevel INFO
|
||||
MaxAuthTries 3
|
||||
MaxSessions 3
|
||||
MaxSessions 5
|
||||
PermitEmptyPasswords no
|
||||
PermitRootLogin no
|
||||
PrintMotd yes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue