How to use SSH (Putty) behind a Proxy/Firewall?

by Hemanth on December 9, 2008

I used to use PuTTY 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 download PuTTY and save it to a convenient folder ( Direct link to Putty.exe). 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.

Putty SSH sessions

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.

IE Internet options- Proxy

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.

Putty Proxy settings

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!

Putty - Saved session

Related Articles:

  • How to Access cPanel/WHM/Webmail from behind a firewall?
  • How to Convert ALL CAPS to Small Letters (Convert Uppercase to Lowercase letters)
  • BitDefender Internet Security 2009 FREE License Key
  • Lunascape Browser: World’s First Triple Engine Browser & the fastest too?
  • 100 Windows XP RUN Commands
  • { 2 comments… read them below or add one }

    Technology December 12, 2008 at 10:43 pm

    you can use Tunnelier software

    Reply

    Proxy January 29, 2009 at 8:36 pm

    Your post is quite interesting and useful. I have bookmarked it for later use to see what other great articles you post!

    Reply

    Leave a Comment