分类:
2011-01-07 16:36:10
I used to use to SSH to my linux servers. But at office like most of the IT guys a corporate firewall blocks all the ports and traffic is allowed though an HTTP proxy. So in case of an emergency if you need to SSH into your linux box Putty got a built in proxy option to help you out.
First and save it to a convenient folder ( ). In the Sessions page enter your Linux machine’s hostname or IP address in the Host Name (or IP address) box. Make sure the Connection type is selected as SSH so that the port filed is 22.
Now you need to get the proxy address and port of your network. The
easiest way is from your browser, Internet Explorer or Firefox. In
Internet Explorer you may get the details from Tools > Internet Options > Connections tab > LAN Settings button. The LAN Settings dialog box should contain the proxy address and port number.
Time to go back to Putty, expand the Connection options in the left pain by clicking on the + sign ( if it’s not expanded). Click the Proxy item. In this page choose your proxy type ( HTTP, SOCKS etc). Now type in the proxy address you’ve found from Internet Explorer in the Proxy hostname field along with the Port number. If you have a user name and password or the proxy enter it in the corresponding fields or just leave them blank.
We are almost done! Go back to the Sessions page and type in a name in the Saved Sessions field . Click the Save buttons to create a session. Select the saved session button and click the Open button. Bingo! you’re in!