How to disable SSH login for the root user on Linux? [Music no 10]
I had a problem that sometimes somebody hacked my password to my Linux server and run some programs on my Linux server. Every time when I decided to rebuild my Linux distribution on the server and change password to more crazy after a few months this happened
again – somebody hacked access to my Linux.
Go to file:
Find a line with text:
sudo service ssh restart
Save and done.