Bitbucket ssh测试返回“远程:ssh_exchange_identification:读取:操作超时" [英] Bitbucket ssh test returns `remote: ssh_exchange_identification: read: Operation timed out`

查看:84
本文介绍了Bitbucket ssh测试返回“远程:ssh_exchange_identification:读取:操作超时"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在设置一台新计算机,这样做是试图从bitbucket中提取存储库,该存储库不适用于git或hg.我已经将我的公钥添加到了bitbucket.

I am setting up a new machine and in doing so, was trying to pull repos from bitbucket, which does not work for either git or hg. I have added my public key to bitbucket.

这是我运行bitbucket在故障排除指南中建议的调试命令时看到的:

This is what I see when I run the debugging command that bitbucket suggests in the troubleshooting guide:

$ 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

推荐答案

原来,该IP地址需要列入白名单.

It turns out that the ip address needed to be whitelisted.

在我发布此问题时,我还没有意识到网络被如此紧密地锁定.

At the time that I posted this question I didn't realize the network was locked down that tightly.

这篇关于Bitbucket ssh测试返回“远程:ssh_exchange_identification:读取:操作超时"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆