我正在设置一台新机器并且这样做,试图从bitbucket中取回repos,这对git或hg都不起作用。我已将我的公钥添加到bitbucket。
这是我在运行bitbucket在故障排除指南中建议的调试命令时看到的内容:
$ ssh -Tv hg@bitbucket.org
OpenSSH_6.9p1, LibreSSL 2.1.8
debug1: Reading configuration data /Users/toadjamb/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug1: Connecting to bitbucket.org [104.192.143.2] port 22.
debug1: Connection established.
debug1: identity file /Users/therrick2/.ssh/id_rsa type 1
debug1: identity file /Users/therrick2/.ssh/id_rsa-cert type 5
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.9
ssh_exchange_identification: read: Operation timed out
答案 0 :(得分:0)
事实证明,IP地址需要列入白名单。
在我发布这个问题的时候,我并没有意识到网络被严密锁定了。