报错如下
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,问题解决。