I haven't tried accessing my AWS instance via SSH from pythonanywhere in a while. I used to be able to access it using, for example:
ssh -i PathToSecurityKeyOnPythonAnywhere root@ec2-107-20-73-78.compute-1.amazonaws.com
Now I get an error. The error is:
ssh: connect to host ec2-107-20-73-78.compute-1.amazonaws.com port 22: Connection refused
Anyone see what I am doing wrong or has something changed about PythonAnywhere accounts?
I see amazonaws.com on the whitelist for access by free accounts. I cannot honestly say if I have tried this route since the whitelist was instituted, but using PuTTY on my Windows machine allows me access the same instance and so I don't think it is anything particular to the instance I am trying.
(By the way, that is not the actual address of the particular instance I was trying but an old one. I didn't think it made a difference for the example and was thinking it was more secure not to post an actual instance I actively use.)