Securing SSH - Liam-DiFalco/Sys255-FA24 GitHub Wiki
How to secure SSH
To secure ssh on linux, all you need to do is go to the sshd config and edit it.
Look for the permission not far down the file called
PermitRootLogin
By default this is set to yes, to secure ssh all you need to do is change that yes to a no.
This will stop people from ssh-ing into your box with the root user account.
- However if they log into a user in the wheel group, then they can su or sudo -i and get root access.