endlessssh — Tunneling SSH over HTTP

2011年8月15日 | 分类: 翻墙相关 | 标签: , ,

endlessssh(all characters in lower case), is a tool written in Python, includes an SSH ProxyCommand and a ProxyServer. It gives you a chance to keep a ssh session never break, even if you move you computer(ssh client runs on) from office to home.

endlessssh use a protocol that looks like HTTP to tunnelling SSH. In future, the protocol will be imporved to work more like HTTP, as to use SSH when the firewall forbids SSH – as long as the firewall doesn’t forbid HTTP.

Usage:

1. Proxy Server usally runs on the same machine on which sshd(SSH server) is running. Edit server_conf.py, add the IP address of ssh_proxy to allow hosts list, the run:

python server.py 8888

2. SSH client, connect to sshd

ssh -o “ProxyCommand python ssh_proxy.py sshd_host 8888 %h %p” user@sshd_host

工具有两个特点:

1. Tunneling SSH over REAL HTTP(完善中)

让 SSH 工作在 HTTP 协议上, 从而穿越防火墙.

2. 持续的会话

即使 TCP 网络连接断开(这时, SSH 会话会失效), SSH 会话仍然保持, 直到网络重连后, 会话继续.

项目地址:http://code.google.com/p/endlessssh/

下载地址:http://code.google.com/p/endlessssh/downloads/list

感谢AS网友推荐,同时他还推荐了一个快速修改DNS地址的工具http://www.trishtech.com/downloads/dnstool/index.php

本文原始地址http://igfw.net/archives/4482

  1. Ben
    2011年8月24日15:03

    是不是用上这个之后,我连接我的SSH服务器就不能用诸如myentunnel之类的客户端了?必须使用plink命令来运行“ssh -o “ProxyCommand python ssh_proxy.py sshd_host 8888 %h %p” user@sshd_host”这个???

    • iGFW
      2011年8月24日20:45

      这个需要你服务器也部署,要有自己的服务器或VPS的。
      使用plink后就不用myentunnel了,其实myentunnel就是一个图形化的plink调度客户端。