ssh: connect to host github.com port 22: Connection timed out
生活随笔
收集整理的這篇文章主要介紹了
ssh: connect to host github.com port 22: Connection timed out
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
問題描述
$ git clone git@github.com:MaugerWu/MaugerWu.github.io.git Cloning into 'MaugerWu.github.io'... ssh: 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 rigths and the repository exists.問題解決
- 首先打開 git Bash,輸入命令 ssh -T git@github.com 測試看看是否連接成功。成功會提示 Hi XXX! You've successfully authenticated, but Github does not peovide shell access.
- 連接超時會提示 ssh:connect to host github.com port 22:Connect timed out
- 參考:https://cloud.tencent.com/developer/article/1019718
轉載于:https://www.cnblogs.com/wumz/p/10031726.html
與50位技術專家面對面20年技術見證,附贈技術全景圖總結
以上是生活随笔為你收集整理的ssh: connect to host github.com port 22: Connection timed out的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 微信小程序-京东购物系列一
- 下一篇: 解决Jenkins邮件配置问题