Forums

SSH out to server

I have a paid account but am getting blocked from connecting to one of my servers via SSH from PythonAnywhere. I thought paid users could do what they wanted with SSH?

edit: my corporate network does block connections on port 22, but since this connection is going out form PA I'm not sure if that matters

We don't block SSH out for paid accounts. If you can't connect to one of your servers, it's probably configuration or auth or something like that. It's not being blocked by us.

How is the connection handled? My org blocks port 22, and port 22 is open on the server I am connecting to. Would my org's firewall be able to block the connection?

If your org's firewall is between the internet and the machine that you're trying to connect to, then it could block SSH.

is pythonanywhere essentially sending the ssh connection request directly from my browser? if that is the case then it makes sense that the blocking is happening. i was under the impression that i had a connection between my browser and some machine that PA owns, and all connections from that machine to the internet were executed from the server and thus wouldnt be affected by my org's policy

No, the SSH connection comes from PythonAnywhere's servers. The browser interface is just there so you can connect to our servers so you can see the console.

My org blocks twitter as well and I can't seem to ping twitter, so they must somehow be catching the connections. odd

It really sounds like your organisation's firewall has nothing to do with this, but it's difficult to tell because you're talking about a bunch of machines and never mention which ones are inside the firewall and which ones are not.

If you're trying to ping twitter from PythonAnywhere, then your firewall is nowhere near anything and can't have an effect.

Have you started a new console since upgrading? Old consoles (form before your upgrade) will still have the old environment with the blocking in place.

creating a new console fixed the issue. thanks!