Week 5: Securing SSH - GoogleMattEckhardt/MattEckhardtTechJournal GitHub Wiki
Week 5:
Securing SSH
- Make an ssh user
- Setup a password for the user
- use vim /etc/ssh/sshd_config
- change PermitRootLogin from "yes" to "no"
- add a line that reads "AllowUsers", followed by the username you want to use
- restart ssh using "sudo systemctl restart sshd"
- login using ssh user username