1
0
mirror of https://github.com/tommytran732/Linux-Setup-Scripts synced 2024-11-22 01:21:33 -05:00

Even more SSHD Hardening

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2024-07-01 14:03:54 -07:00 committed by GitHub
parent 5eb1eea440
commit 3be6ad0817
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,11 +7,13 @@ Ciphers aes256-gcm@openssh.com
MACs -* MACs -*
# Security hardening # Security hardening
AuthenticationMethods publickey
AuthorizedKeysFile .ssh/authorized_keys AuthorizedKeysFile .ssh/authorized_keys
Compression no Compression no
DisableForwarding yes DisableForwarding yes
LoginGraceTime 15s LoginGraceTime 15s
MaxAuthTries 1 MaxAuthTries 1
PermitUserEnvironment no
PermitUserRC no PermitUserRC no
StrictModes yes StrictModes yes
UseDNS no UseDNS no