$ 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 clone git@github.com:MaugerWu/MaugerWu.github.io.git
换成了 $ git clone https://github.com/MaugerWu/MaugerWu.github.io.git
,然后就可以了。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
ssh: connect to host github.com port 22: Connection timed out
原文:https://www.cnblogs.com/wumz/p/10031726.html