【问题标题】:Proxy setting for F-Secure SSH on Windows 7Windows 7 上 F-Secure SSH 的代理设置
【发布时间】:2014-11-28 00:34:49
【问题描述】:

对于 TortoiseHg,我们使用 F-Secure SSH(公司决策)进行身份验证。我们可以访问公司网络中的所有 repo,但是当我尝试访问 bit-bucket 时它失败了。

我尝试使用 https 设置 (https://xxx@bitbucket.org/xxx/reponame) 访问 bit-bucket,并且在 mercurial.ini 中设置代理后它工作了

[http_proxy]
host = proxy-us.xxx.com:xxx
user = xxx

我怎样才能对 SSH 做同样的事情?我可以通过 putty 看到一些设置,但我无法获取 F-Secure SSH (ssh2) 的详细信息。

【问题讨论】:

    标签: windows ssh mercurial tortoisehg libssh2


    【解决方案1】:

    将以下内容添加到%USERPROFILE%\mercurial.ini

    [ui]
    ssh = "C:\Program Files (x86)\F-Secure\Ssh\ssh2.exe" -o "SocksServer proxy.internal:1080"
    

    【讨论】:

    • remote: warning: Connecting to bitbucket.org failed: TCP/IP Failure 是我收到上述更改的警告
    • 您的代理服务器可能拒绝连接。 F-Secure ssh2 的代理服务器需要是 SOCKS 代理,而不是 HTTP(S) 代理。
    猜你喜欢
    • 1970-01-01
    • 2011-07-03
    • 2010-12-19
    • 2015-06-18
    • 2014-08-30
    • 2018-07-13
    • 1970-01-01
    • 2011-02-21
    • 1970-01-01
    相关资源
    最近更新 更多