By mistake I have allowed loging as root through ssh, now there are several automated attempts to log as root by some malicious machine. There are so many attempts that the server is slow and my sites are not served right. I tryed disabling the root login by editing
and I ran
sudo usermod -p '!' root sudo passwd -l root sudo service ssh restart
but the log in auth.log still shows the attempts every second there is a way of blocking this if the attempts are made from several ips ?