Secure your SSH

Notes on SSH security Use fail2ban to prevent brute force login attempts. Disabling logging in as root via SSH. Add PermitRootLogin no to your /etc/ssh/sshd_config Limiting the users that can SSH to the server. Either by group or just specific users. Add AllowGroups group1 group2 or AllowUsers user1 user2 to limit who can SSH to the server.

Comments

Popular Posts