David Jimenez
Basic Pleskian
After working to secure our web server and getting all our traffic flowing through Cloudflare, I have turned my attention to SSH. I looked at the logs in Virtuozzo and see almost a continuous attack on SSH such as:
Apr 13 13:43:01 03f98ae sshd[25853]: Failed password for root from 42.94.138.217 port 3986 ssh2
Apr 13 13:43:03 03f98ae sshd[25853]: Failed password for root from 42.94.138.217 port 3986 ssh2
Apr 13 13:43:05 03f98ae sshd[25853]: Failed password for root from 42.94.138.217 port 3986 ssh2
Apr 13 13:43:08 03f98ae sshd[25853]: Failed password for root from 42.94.138.217 port 3986 ssh2
Apr 13 13:43:10 03f98ae sshd[25853]: Failed password for root from 42.94.138.217 port 3986 ssh2
Apr 13 13:43:13 03f98ae sshd[25854]: Disconnecting: Too many authentication failures for root
Apr 13 13:43:13 03f98ae sshd[25853]: Failed password for root from 42.94.138.217 port 3986 ssh2
Apr 13 13:43:13 03f98ae sshd[25853]: PAM 5 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=42.94.138.217 user=root
Apr 13 13:43:13 03f98ae sshd[25853]: PAM service(sshd) ignoring max retries; 6 > 3
So, I went to the Plesk Web Hosting Access and selected "Forbidden" for "Access to the server over SSH" but I am still seeing hack attempts in the Virtuozzo log.
Is there a different way to shut down SSH? I don't need it unless I have to update IP tables if Cloudflare adds new IP addresses.
Apr 13 13:43:01 03f98ae sshd[25853]: Failed password for root from 42.94.138.217 port 3986 ssh2
Apr 13 13:43:03 03f98ae sshd[25853]: Failed password for root from 42.94.138.217 port 3986 ssh2
Apr 13 13:43:05 03f98ae sshd[25853]: Failed password for root from 42.94.138.217 port 3986 ssh2
Apr 13 13:43:08 03f98ae sshd[25853]: Failed password for root from 42.94.138.217 port 3986 ssh2
Apr 13 13:43:10 03f98ae sshd[25853]: Failed password for root from 42.94.138.217 port 3986 ssh2
Apr 13 13:43:13 03f98ae sshd[25854]: Disconnecting: Too many authentication failures for root
Apr 13 13:43:13 03f98ae sshd[25853]: Failed password for root from 42.94.138.217 port 3986 ssh2
Apr 13 13:43:13 03f98ae sshd[25853]: PAM 5 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=42.94.138.217 user=root
Apr 13 13:43:13 03f98ae sshd[25853]: PAM service(sshd) ignoring max retries; 6 > 3
So, I went to the Plesk Web Hosting Access and selected "Forbidden" for "Access to the server over SSH" but I am still seeing hack attempts in the Virtuozzo log.
Is there a different way to shut down SSH? I don't need it unless I have to update IP tables if Cloudflare adds new IP addresses.