Forums

ssh: connect to host ssh.pythonanywhere.com port 22: Connection timed out

I cannot connect to my server via SSH. I have paid account.

From our logs, it looks like you were able to log in a few times over SSH after sending this message. Some reasons why it might have not been working before:

  • If you were connecting from behind some kind of proxy/firewall, it could have been blocking SSH access.
  • If you try to connect via SSH with an incorrect password several times in quick succession, the system might think you're trying to break in and block your IP address for an hour.

Perhaps one of those was the case?

I have similar problem and I think it's because of I tried many times with an incorrect password, what should I do now ?

ssh -4 -L 9999:achrafbo6-2205.postgres.pythonanywhere-services.com:12205 achrafbo6@ssh.pythonanywhere.com

Wait for an hour. The block resets after an hour.