Securing SSH - devinziegler/Devin-Tech-Journal GitHub Wiki
Assignment:
Disable Remote Root Login:
- Edit
sshd.conf
:
vi /etc/ssh/sshd.conf
- Make changes:
PermitRootLogin no
- Restart SSH:
systemctl restart sshd
Remote Root Login Should be disabled.
Checking Logs For Root Login Denial:
cat /var/log/secure | grep "not met"