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

ssh 连接会被终端环境变量 http_proxy 影响吗

  •  
  •   nowheretoseek · 2018-09-08 22:11:20 +08:00 · 1344 次点击
    这是一个创建于 2086 天前的主题,其中的信息可能已经有所发展或是发生改变。

    有可能因为 http_proxy 变量的影响,ssh 实际上通过一个隧道连接的吗?怎么验证?

    3 条回复    2018-09-08 23:23:37 +08:00
    goophy
        1
    goophy  
       2018-09-08 22:17:46 +08:00 via iPhone
    ssh 不用 http_proxy 环境变量,在 .ssh/config 或者 etc/ 里的配置中设置 proxy
    alvin666
        2
    alvin666  
       2018-09-08 22:27:20 +08:00 via Android
    不会受影响
    nowheretoseek
        3
    nowheretoseek  
    OP
       2018-09-08 23:23:37 +08:00
    @alvin666 @goophy 了解了,谢谢!
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2474 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 07:41 · PVG 15:41 · LAX 00:41 · JFK 03:41
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.