一个伪linux粉丝的blog

  1. 首页
  2. network
  3. 正文

Corkscrew内网代理环境SSH

30 3 月, 2010 4534点热度 0人点赞 2条评论

corkscrewCorkscrew 螺丝锥,开瓶器.

一句话介绍,开瓶器是一个隧道通过HTTP代理SSH的工具。Corkscrew is a tool for tunneling SSH through HTTP proxies.

虽然大多数人用不到这种极端环境,内网+代理环境上网+linux环境+需要外部ssh。

当然windows环境下,内网代理,ssh很简单putty或SecureCRT,都有 防火墙选项。可以设置代理。

linux下命令行 ssh,我把ssh help翻了一遍也没找到有设置代理的选项。Google漫天搜索终于找到了Corkscrew:) 试用了一阵,稳定好用,所以记下来。

使用方法简单

1,下载。

2,安装

1
2
3
4
5
tar -xzvf corkscrew.tar.gz
# [..]
cd corkscrew
./configure
make install

3, 修改用户目录下的.ssh/config文件,正常情况下没有config文件:)

1
2
3
4
5
Host *
  ProxyCommand corkscrew <em>http-proxy.example.com</em> 8080 %h %p
4, 搞定收工。
ssh somewhere.com 试试吧。
如果需要更详细的介绍,参阅。<a href="http://www.mtu.net/~engstrom/ssh-proxy.php">http://www.mtu.net/~engstrom/ssh-proxy.php</a>

相关文章:

  1. nginx升级0.8.52
  2. 基于Ubuntu Nginx Mongrel Mysql部署rails
  3. using msmtp send mail with gmail
  4. Subversion1.5.1升级至1.6.15
标签: 暂无
最后更新:30 3 月, 2010

wanjie

这个人很懒,什么都没留下

点赞
< 上一篇
下一篇 >

文章评论

  • apu

    SSH -D 即可。

    1 6 月, 2010
    回复
    • wanjie

      @apu @apu 呵呵,朋友没有遇到过内网代理环境上网的这种情况。

      1 6 月, 2010
      回复
  • razz evil exclaim smile redface biggrin eek confused idea lol mad twisted rolleyes wink cool arrow neutral cry mrgreen drooling persevering
    取消回复

    This site uses Akismet to reduce spam. Learn how your comment data is processed.

    归档
    分类
    • network / 332篇
    • Uncategorized / 116篇
    • unix/linux / 121篇
    • 业界资讯 / 38篇
    • 公司杂事 / 11篇
    • 数码影像 / 12篇
    • 美剧 / 3篇
    • 美图共赏 / 21篇
    • 英语学习 / 3篇
    标签聚合
    postgres wget dreamhost空间 openssl nexus ldap Nginx kernel VPS 浏览器 dreamhost squid k8s jira 虚拟主机 泰国 Google 天翼live 邮件归档 d90 google-chrome debian docker Google Voice deepseek Ubuntu 网站运营 gitlab kubectl ssh

    COPYRIGHT © 2008-2025 wanjie.info. ALL RIGHTS RESERVED.

    Theme Kratos Made By Seaton Jiang