Forums

paid account, SSH connection has stopped working - host has failed to respond

My SSH access was working fine last night. All of a sudden it stopped working this morning. Does it have something to do with the your sever update today? I get this error message from SFTP Drive: "SSH connection failed: Connection failed: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 23.21.200.247:22".

Thank you.

Hi, are you connecting to the ip address or ssh.pythonanywhere.com?

Yes, I'm connecting to ssh.pythonanywhere.com. Everything was working fine on Jan 24, then on Jan 25 it stopped working. My connection settings and login credentials haven't changed.

I just tried logging in to ssh from a remote terminal with a different IP and it worked just fine. For some reason ssh.pythonanywhere.com doesn't want to let my pc connect to it anymore. Do you think SFTP Drive was causing issues and now the server has my IP blocked?

It's working now. I made no changes on my end. If you did something, thank you!

I didnt. Glad its working though

I am having the very same problem. WinSCP client from windows to do file transfer no longer working. All settings saved, working towards ssh.pythonanywhere.com. It has worked before, but not now. Can not initiate SFTP protocol is the message (in swedish though).

Check that you are able to use SSH from your machine: https://help.pythonanywhere.com/pages/SSHAccess/

Hi Glenn! ssh and sftp now works fine from CLI. WinSCP client (GUI) still not working, but I assume it is not on your end as cli is ok. Thanks.

Is there any error displayed in WinSCP?

WinSCP says (translating from swedish) "cannot initiate SFTP protocol. Is the host running SFTP?" Server sent command end status 254.

Could you check if you used case sensitive version of your username ("Gitarrtomten", not "gitarrtomten") in your WinSCP setup?

Hi pafk! You are spot on there. The username was case sensitive. When I switched to uppercase first letter in username (GItarrtomten) it now works. Thank you so much!!!