请教ssh 代理问题 - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
guoker
V2EX    Linux

请教ssh 代理问题

  •  
      guoker 2013-07-17 12:49:21 +08:00 4251 次点击
    这是一个创建于 4537 天前的主题,其中的信息可能已经有所发展或是发生改变。
    本地ssh -C -D开8080端口上网一切正常,可是用proxychain做程序代理时在远程服务器发现Connection refused的错误提示,是我proxychain配置有问题吗?
    5 条回复    1970-01-01 08:00:00 +08:00
    zone
        1
    zone  
       2013-07-30 21:11:51 +08:00
    很有可能,上找proxychain的配置
    sandtears
        2
    sandtears  
       2013-07-31 23:30:53 +08:00
    你看看/etc/proxychains.conf(貌似叫这名)
    最后那里写明是socks5 127.0.0.1 8080了么
    guoker
        3
    guoker  
    OP
       2013-08-07 16:28:47 +08:00
    @sandtears 当然写了 什么socks4 http 等等的都写了
    zjhui
        4
    zjhui  
       2013-08-07 23:15:20 +08:00 via Android
    lz应该把配置贴上来看看。。
    guoker
        5
    guoker  
    OP
       2013-08-08 10:31:14 +08:00
    @zjhui 配置如下
    # proxychains.conf VER 3.1
    #
    # HTTP, SOCKS4, SOCKS5 tunneling proxifier with DNS.
    #

    # The option below identifies how the ProxyList is treated.
    # only one option should be uncommented at time,
    # otherwise the last appearing option will be accepted
    #
    #dynamic_chain
    #
    # Dynamic - Each connection will be done via chained proxies
    # all proxies chained in the order as they appear in the list
    # at least one proxy must be online to play in chain
    # (dead proxies are skipped)
    # otherwise EINTR is returned to the app
    #
    strict_chain
    #
    # Strict - Each connection will be done via chained proxies
    # all proxies chained in the order as they appear in the list
    # all proxies must be online to play in chain
    # otherwise EINTR is returned to the app
    #
    #random_chain
    #
    # Random - Each connection will be done via random proxy
    # (or proxy chain, see chain_len) from the list.
    # this option is good to test your IDS :)

    # Make sense only if random_chain
    #chain_len = 2

    # Quiet mode (no output from library)
    #quiet_mode

    # Proxy DNS requests - no leak for DNS data
    proxy_dns 8.8.8.8

    # Some timeouts in milliseconds
    tcp_read_time_out 15000
    tcp_connect_time_out 8000

    # ProxyList format
    # type host port [user pass]
    # (values separated by 'tab' or 'blank')
    #
    #
    # Examples:
    #
    # socks5 192.168.67.78 1080 lamer secret
    # http 192.168.89.3 8080 justu hidden
    # socks4 192.168.1.49 1080
    # http 192.168.39.93 8080
    #
    #
    # proxy types: http, socks4, socks5
    # ( auth types supported: "basic"-http "user/pass"-socks )
    #
    [ProxyList]
    # add proxy here ...
    # meanwile
    # defaults set to "tor"
    socks4 127.0.0.1 9900
    socks5 127.0.0.1 9900
    http 127.0.0.1 9900

    端口和ssh一致
    /td>
    关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     3351 人在线   最高记录 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 23ms UTC 00:45 PVG 08:45 LAX 16:45 JFK 19:45
    Do have faith in what you're doing.
    ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86