首页 > 其他 > 详细

ssh: connect to host github.com port 22: Connection timed out

时间:2018-11-28 14:34:56      阅读:456      评论:0      收藏:0      [点我收藏+]

问题描述

$ 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.

问题解决

  1. 我的解决办法是在 clone 的时候将链接 $ git clone git@github.com:MaugerWu/MaugerWu.github.io.git 换成了 $ git clone https://github.com/MaugerWu/MaugerWu.github.io.git,然后就可以了。
  2. 一开始也在网上看了一下:

ssh: connect to host github.com port 22: Connection timed out

原文:https://www.cnblogs.com/wumz/p/10031726.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!