I am not able to find solution for this been searching google for last 2 hours. I entered wrong password in Putty while connecting to my website server. I entered it wrong like 3 times i think. Now whenever i try to open connection in putty i get following message:
"Network error: Connection timed out". I also tried opening my website in chrome or firefox i get same message. How can i open my website again or open connection through putty again? I tried restarting my pc, resetting my router but nothing.
--> Also logged in to WHM and restarted -> SSH Server (OpenSSH) But still nothing.
51 Answer
Looks like you are banned from SSH, firewall might blocking you. Restarting SSH will not help because fail2ban reads auth.log and if there are failed authentication attempts more than certain amount, attempting IP address will be blocked by a new firewall rule.
You can telnet to port 22 from another computer to see if you are able to access SSH. Try:
telnet yourserverIP 22If you see a blank black screen immediately which will probably also state it is OpenSSH Server, it means that other computer can access to SSH of your server. You can use CTRL + ] to escape and type quit to exit telnet.
You can use this other computer to SSH to your server and restart fail2ban (assuming it is fail2ban):
$sudo /etc/init.d/fail2ban restartIf this command fails to run, let us know what is the error message.
1