Question
How can I disable SSH login for a root user? (I am the account owner)
How can I disable SSH login for a root user? (I am the account owner)
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
Add a line to your ssh config file:
/etc/ssh/sshd_config