Securing SSH - rosepheobieshea/SYS-255-Tech-Journal GitHub Wiki
To diable root access over SSH do the following:
- Open
/etc/ssh/sshd_config - Comment out
PermitRootLogin yes - Restart sshd with
systemctl restart shhd
To diable root access over SSH do the following:
/etc/ssh/sshd_configPermitRootLogin yessystemctl restart shhd