diff --git a/scripts/cloud-init.sh b/scripts/cloud-init.sh index 3033325..21fd78c 100644 --- a/scripts/cloud-init.sh +++ b/scripts/cloud-init.sh @@ -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