removed more security bs
All checks were successful
Deployment / deploy-docker (push) Successful in 43s

This commit is contained in:
Melchior Reimers
2026-02-05 09:44:02 +01:00
parent 5fa9031c16
commit ab5ae72134

View File

@@ -26,20 +26,11 @@ PasswordAuthentication no
ChallengeResponseAuthentication no ChallengeResponseAuthentication no
UsePAM yes UsePAM yes
## Disable root login
#PermitRootLogin no
# Key-based auth only # Key-based auth only
PubkeyAuthentication yes PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys AuthorizedKeysFile .ssh/authorized_keys
# Timeouts and limits
ClientAliveInterval 300
ClientAliveCountMax 2
MaxAuthTries 3
MaxSessions 3
LoginGraceTime 30
# Disable unused auth methods # Disable unused auth methods
HostbasedAuthentication no HostbasedAuthentication no
PermitEmptyPasswords no PermitEmptyPasswords no