V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
ruandao
V2EX  ›  问与答

问个 ssh 终端代理的问题

  •  
  •   ruandao · 2015-03-06 22:42:47 +08:00 · 2022 次点击
    这是一个创建于 3362 天前的主题,其中的信息可能已经有所发展或是发生改变。
    服务器已经用ssh 连通
    autossh -N [email protected] -p 22 -D *:8119 -C -i ./private_key

    在命令行里面:
    proxychains wget baidu.com 时:

    Connecting to 127.0.0.1:8119... connected.
    Proxy request sent, awaiting response... No data received.
    Retrying.

    (本机开网页没问题,switchysharp 全局)
    问题是出在哪里?
    4 条回复    2015-03-06 23:50:39 +08:00
    standin000
        1
    standin000  
       2015-03-06 22:50:46 +08:00   ❤️ 1
    wget 需要 http代理,用privoxy/polipo转一下
    ruandao
        2
    ruandao  
    OP
       2015-03-06 23:28:37 +08:00
    @standin000
    恩 有用代理, 用的时proxychains 做的本地代理
    standin000
        3
    standin000  
       2015-03-06 23:39:16 +08:00   ❤️ 1
    @ruandao 8119是socket代理,wget不能用啊
    ruandao
        4
    ruandao  
    OP
       2015-03-06 23:50:39 +08:00
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5090 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 45ms · UTC 08:01 · PVG 16:01 · LAX 01:01 · JFK 04:01
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.