Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

This problem started when I tried to login to my brand spaning new VPS server.

I remember that in my first SSH try on the server I actually got prompt for password several times which would mean that there is no port blocking problem from my isp. Since the password did'nt work for me (for some reason). I had a lot of authentication failure. After that attempting to log in to the server just timed out. I did the same at mediatemple (which used to work before with sftp) and put in wrong password and now trying to ssh (or even SFTP) gives me timeout error.

So some kind of security feature is preventing me from trying too many times to log in, either from my side or from the server side. Any idea what it could be?

TRaceroute and ping works on the ips. I am using a zyxel wimax modem (max-206m1r - if that's relevent)

c:\Program Files (x86)\OpenSSH\bin>ssh.exe root@109.169.7.136
ssh: connect to host 109.169.7.136 port 22: Connection timed out

c:\Program Files (x86)\OpenSSH\bin>ssh.exe root@109.169.7.131
ssh: connect to host 109.169.7.131 port 22: Connection timed out

c:\Program Files (x86)\OpenSSH\bin>ssh.exe root@87.117.249.227
ssh: connect to host 87.117.249.227 port 22: Connection timed out

c:\Program Files (x86)\OpenSSH\bin>ssh.exe root@87.117.249.227 -vv
OpenSSH_5.6p1, OpenSSL 0.9.8r 8 Feb 2011
debug1: Reading configuration data /etc/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Connecting to 87.117.249.227 [87.117.249.227] port 22.
debug1: connect to address 87.117.249.227 port 22: Connection timed out
ssh: connect to host 87.117.249.227 port 22: Connection timed out

c:\Program Files (x86)\OpenSSH\bin>ssh.exe s122797.gridserver.com
Could not create directory '/home/pavs/.ssh'.
The authenticity of host 's122797.gridserver.com (205.186.175.110)' can't be est
ablished.
RSA key fingerprint is 33:24:1e:38:bc:fd:75:02:81:d8:39:42:16:f6:f6:ff.
Are you sure you want to continue connecting (yes/no)? yes
Failed to add the host to the list of known hosts (/home/pavs/.ssh/known_hosts).

Password:
Password:
Password:
pavs@s122797.gridserver.com's password:
Permission denied, please try again.
pavs@s122797.gridserver.com's password:
Permission denied, please try again.
pavs@s122797.gridserver.com's password:
Received disconnect from 205.186.175.110: 2: Too many authentication failures fo
r pavs

c:\Program Files (x86)\OpenSSH\bin>ssh.exe s122797.gridserver.com
ssh: connect to host s122797.gridserver.com port 22: Connection timed out

c:\Program Files (x86)\OpenSSH\bin>ssh.exe s122797.gridserver.com
ssh: connect to host s122797.gridserver.com port 22: Connection timed out
share|improve this question

2 Answers 2

Most likely this is due to fail2ban. If you fail to log in too many times, fail2ban places a temporary IP ban on you causing connections to fail. If the password is incorrect, don't keep repeating it. Figure out what's wrong and fix it.

share|improve this answer

Does your VPS host offer support? Perhaps they can explain to you why you can't log into your service :)

If they truly do have some sort of IP block on you, you could try from a different IP (a friend's place?) Otherwise, if it's based on your username, try sending another username and see if it times out. If it doesn't, you'll need your user account re-enabled. If it does, try the new IP thing.

If neither works, you're definitely stuck with getting support from your provider.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.