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

ssh: connect to host github.com port 22: Connection timed out fatal: Could not read from remote...

时间:2021-05-17 20:46:12

相关推荐

ssh: connect to host github.com port 22: Connection timed out fatal: Could not read from remote...

ssh报错:

ssh: connect to host port 22: Connection timed out

fatal: Could not read from remote repository.

在终端输入:$ ssh -T git@

打开下图路径下查看是否有该文件:

没有的话就添加一个文件命名:config

内容为:

Host User gitHostname PreferredAuthentications publickeyIdentityFile ~/.ssh/id_rsaPort 443

在终端重新输入:$ ssh -T git@

经过以上步骤即可解决标题报错!

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