Two days ago I logged on server via ssh without any problems. Today I tried to do so 3 times with wrong login (simple mistake), it said there was a login error, so I checked and put in correct login. After that it just stopped and returned Connection timed out. Full output with -vvv argument:
OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to 194.29.169.1 [194.29.169.1] port 22.
debug1: connect to address 194.29.169.1 port 22: Connection timed out
ssh: connect to host 194.29.169.1 port 22: Connection timed out
What's more - I tried to go back to this wrong login but now it gave the same result as the correct one.
After hours of searching the solution (firewall etc.) I tried to set up the connection on Windows (Putty) as well as on Windows on different computer but the result was the same. It indicated that it wasn't a platform issue but the connection couldn't be set up because of network. As I thought - after connecting to my mobile hotspot I could set up ssh connection without any troubles. I asked a friend to log on his platform and network and he succeeded as well.
Do you have any idea what could have caused that?
ping 194.29.169.1 22
? Doestelnet 194.29.169.1 22
indicate a listening SSH server? (you can exit the latter using Ctrl-] then Ctrl-D)telnet: Unable to connect to remote host: Connection timed out
fail2ban
that has (at least temporarily) banned your IP address from connecting