简体   繁体   English

Bitbucket ssh测试返回“远程:ssh_exchange_identification:读取:操作超时”

[英]Bitbucket ssh test returns `remote: ssh_exchange_identification: read: Operation timed out`

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. 我正在设置一台新计算机,并且这样做是试图从bitbucket中提取回购,对于git或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: 这是我运行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

It turns out that the ip address needed to be whitelisted. 原来,该IP地址需要列入白名单。

At the time that I posted this question I didn't realize the network was locked down that tightly. 在我发布此问题时,我还没有意识到网络被如此紧密地锁定。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 ssh_exchange_identification - ssh_exchange_identification 尝试连接到 git 上的远程存储库时出现“ssh_exchange_identification: read: Connection reset by peer”错误 - "ssh_exchange_identification: read: Connection reset by peer" error when trying to connect to remote repository on git git ssh_exchange_identification:阅读:软件导致连接中止 - git ssh_exchange_identification: read: Software caused connection abort bibucket ssh_exchange_identification:读取:对等方重置连接 - bibucket ssh_exchange_identification: read: Connection reset by peer GitHub 错误 - “ssh_exchange_identification: read: Connection reset by peer” - GitHub error - “ssh_exchange_identification: read: Connection reset by peer” "突然开始使用 git\/bitbucket 收到 ssh_exchange_identification 错误" - Suddenly started to receive ssh_exchange_identification error using git/bitbucket kex_exchange_identification:读:操作超时 - kex_exchange_identification: read: Operation timed out GitHub 错误 - “ssh:连接到主机 github.com 端口 22:操作超时致命:无法从远程存储库读取。” - GitHub Error - "ssh: connect to host github.com port 22: Operation timed out fatal: Could not read from remote repository." ssh:连接到主机 gist.github.com 端口 22:操作超时致命:无法从远程存储库读取 - ssh: connect to host gist.github.com port 22: Operation timed out fatal: Could not read from remote repository ssh git kex_exchange_identification:读取:对等方重置连接 - ssh git kex_exchange_identification: read: Connection reset by peer
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM