github 的 SSH keys 过期解决

以 SSH 方式 git clone 在 github 上的仓库时,报错:

$ git clone git@github.com:cag2050/counter-app.git
Cloning into 'counter-app'...
ssh: connect to host github.com port 22: Operation timed out
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

其中的一个可能原因是:github 的 SSH keys 过期了;
解决:https://blog.csdn.net/Leo_Franklin/article/details/108858285

posted on 2022-12-23 10:47  cag2050  阅读(594)  评论(0编辑  收藏  举报

导航