removed more security bs
All checks were successful
Deployment / deploy-docker (push) Successful in 43s
All checks were successful
Deployment / deploy-docker (push) Successful in 43s
This commit is contained in:
@@ -26,20 +26,11 @@ PasswordAuthentication no
|
||||
ChallengeResponseAuthentication no
|
||||
UsePAM yes
|
||||
|
||||
## Disable root login
|
||||
#PermitRootLogin no
|
||||
|
||||
# Key-based auth only
|
||||
PubkeyAuthentication yes
|
||||
AuthorizedKeysFile .ssh/authorized_keys
|
||||
|
||||
# Timeouts and limits
|
||||
ClientAliveInterval 300
|
||||
ClientAliveCountMax 2
|
||||
MaxAuthTries 3
|
||||
MaxSessions 3
|
||||
LoginGraceTime 30
|
||||
|
||||
# Disable unused auth methods
|
||||
HostbasedAuthentication no
|
||||
PermitEmptyPasswords no
|
||||
|
||||
Reference in New Issue
Block a user