1
What is the best way to SSH to my sever behind company proxy , it seems that 22 port is not opened by default , is there any simple way to do that rather than to install corkscrew ??
When I do :
✗ ssh -i ~/.ec2/mykey.pem ubuntu@XX.XX.XXX.XXX
ssh: connect to host XX.XX.XXX.XXX port 22: Operation timed out
1Of course, you'll also need to tell the SSH client to connect to that port. e.g. via
ssh -p 2222 hostname
or (better, because the option also works withscp
etc.)ssh -o Port=2222 hostname
. And port 80 can be hooked up with e.g. transparent HTTP proxies for caching or filtering, so that may not work very well... you would need to find a port that passes the connection through unmolested. – zigg – 2012-03-21T12:30:40.007Also, what zigg said. – Eroen – 2012-03-21T13:02:12.463