Originally Posted by Blueleaf
How would I be able to access the sshd_config file if I disable the root? My user isn't able edit or modify that file?
Disabling root login over the network is a security best practice. It doesn't restrict you from doing damage
working as usual. As root install sudo
and then edit /etc/sudoers (using visudo
, not a text editor!). After disabling root SSH login you log in as unprivileged user and then perform tasks as root using sudo.