Disable root login
Using the root user to access the SSH server is not a good practice. Always access the SSH server using non privileged user accounts.
Open the configuration file.
Disable the root login using the
PermitRootLogin
option.
Now the root login is disabled and the SSH server can only be accessible by a non root user.
Last updated