Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |
debian_ssh_hardening [2024/08/22 14:42] – estebanmonge | debian_ssh_hardening [2024/08/29 22:55] (current) – estebanmonge |
---|
echo 'AllowAgentForwarding no' >> /etc/ssh/sshd_config | echo 'AllowAgentForwarding no' >> /etc/ssh/sshd_config |
echo 'AllowTcpForwarding no' >> /etc/ssh/sshd_config | echo 'AllowTcpForwarding no' >> /etc/ssh/sshd_config |
| echo 'MaxAuthTries 3' >> /etc/ssh/sshd_config |
| echo 'PasswordAuthentication yes' >> /etc/ssh/sshd_config |
| echo 'PermitRootLogin no' >> /etc/ssh/sshd_config |
| echo 'ClientAliveCountMax 0' >> /etc/ssh/sshd_config |
| echo 'LoginGraceTime 60' >> /etc/ssh/sshd_config |
| echo 'MaxStartups 10:30:60' >> /etc/ssh/sshd_config |
</code> | </code> |
| |