我已经在一个特定的存储库上工作了几个月,没有问题,一段时间后,我试图重新推送到远程仓库,我得到了这个
errorssh: connect to host github.com 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.
我尝试过这个 我创建了一个ssh密钥并将其添加到我的github中,但是仍然出现此错误,我的github上的其他项目运行正常,只有该特定项目拒绝接受git push
当我尝试ssh -Tv github.com时,我得到了
untu-4ubuntu2.6, OpenSSL 1.0.2g 1 Mar 2016
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to github.com [140.82.118.4] port 22.
debug1: connect to address 140.82.118.4 port 22: Connection timed out
debug1: Connecting to github.com [140.82.118.3] port 22.
debug1: connect to address 140.82.118.3 port 22: Connection timed out
ssh: connect to host github.com port 22: Connection timed out