报错如下
ssh: connect to host bitbucket.org port 22: Connection timed out
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
解决方案,分为两步:1.添加ssh的host port 443 到
C:\Users\Feihong.ssh\config中;2.更新密钥。
1.添加ssh的host port 443
Host github.com
Hostname ssh.github.com
Port 443
Host bitbucket.org
Hostname altssh.bitbucket.org
Port 443
- 更新密钥。
ssh-keygen
Bingo,问题解决。
解决SSH连接超时至bitbucket.org的问题
文章描述了遇到SSH连接到bitbucket.org时端口22超时的问题及解决方案。解决方案包括两步:1)在ssh配置文件中添加host和port443,分别针对github.com和bitbucket.org;2)更新SSH密钥,使用ssh-keygen命令生成新的密钥。按照这些步骤操作后,问题得到了解决。
1万+

被折叠的 条评论
为什么被折叠?



