I was trying to setup (SSH) Internet access to github.com on some servers wich don’t have any Internet connectivity.
I wanted to use SSH instead of HTTP because this way you can use encryption keys instead of username and password authentication for github.
There are some excellent guides out there how to do this with corkscrew. I used one of those and almost got it working …… :
[martin@dhcp3b.hgl-pv ~]$ corkscrew 10.255.248.131 8080 github.com 22
Proxy could not open connnection to github.com: Forbidden
putty displayed the same error so the problem was probably with the proxy. If you need to fix this allow the (Squid) proxy to be able to open a connection to port 22.