SSH via Proxy

公司只能通过 http proxy 上网,Solaris 里面自带的 ssh-http-proxy-connect 命令不管用,想到 dreamhost 提供的 shell 中摆弄几下总也不成功。今天 google 到一个东西可以说是最好的解决办法:goto-san-connect 1.96,比以前发现的http tunnel方便多了。

源码:http://zippo.taiyo.co.jp/~gotoh/ssh/connect.c

编译方法源码里就有。

用于 openssh 时在 ~/.ssh/config 里用 ProxyCommand 命令,例如:

Host joyus
User fakename Hostname joyus.org
ProxyCommand connect -4 -H proxyserver:port %h %p

更多信息:

Using OpenSSH through a SOCKS compatible PROXY on your LANhttp://zippo.taiyo.co.jp/~gotoh/ssh/openssh-socks.html
Detailed usagehttp://zippo.taiyo.co.jp/~gotoh/ssh/connect.html

打包下载:http://joyus.org/pub/goto-san-connect-1.96.tar.gz

Jul 10, 2006 at 10:32pm | 0 Comments
Tags: , and

0 Comments so far

  1. There are currently no comments.
Leave a Comment?


« 搬往 dreamhost 中文变乱码  —  世界杯结束了 »

Tags

Blogroll

Fairy World | STUPiD | 阅微草堂 | ShelleX | 流浪五天