Chinaunix首页 | 论坛 | 博客
  • 博客访问: 387475
  • 博文数量: 99
  • 博客积分: 5134
  • 博客等级: 大校
  • 技术积分: 1607
  • 用 户 组: 普通用户
  • 注册时间: 2007-03-30 09:31
文章分类

全部博文(99)

文章存档

2011年(48)

2010年(40)

2009年(10)

2008年(1)

分类:

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.

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.

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

阅读(2259) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~