700字范文,内容丰富有趣,生活中的好帮手!
700字范文 > ssh: connect to host github.com port 22: Connection timed out

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

时间:2019-04-24 22:11:04

相关推荐

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

问题描述

$ git clone git@:MaugerWu/MaugerWu.github.io.gitCloning into 'MaugerWu.github.io'...ssh: connect to host port 22: Connection timed outfatal:Could not read from remote repository.Please make sure you have the correct access rigthsand the repository exists.

问题解决

我的解决办法是将git@换成https@,将链接$ git clone git@:MaugerWu/MaugerWu.github.io.git换成了$ git clone /MaugerWu/MaugerWu.github.io.git,然后就可以了。测试连接 首先打开git Bash,输入命令ssh -T git@测试看看是否连接成功。成功会提示Hi XXX! You've successfully authenticated, but Github does not peovide shell access.连接超时会提示ssh:connect to host port 22:Connect timed out参考:/developer/article/1019718

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。