从Github 使用ssh clone 项目时出现问题
天蓬老师
天蓬老师 2017-05-02 09:32:44
0
5
659

Github 使用 ssh clone 项目 返回下面错误

ssh_exchange_identification: Connection closed by remote host
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

请问怎么解决?

公匙我已经添加了到Github中了

用HTTPS URL clone 是可以的。就是SSH 不行

我也用coding的服务,同一个公匙用在coding上时没问题的。而且https 方法也没问题。

最后感觉是被墙了,或者是dns污染的问题。因为ping github.com 之后IP是1.1.1.1,并且连不出去。

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(5)
给我你的怀抱

I found the final answer, it’s because of the wall.

Everything works normally in an external network environment.

習慣沉默

It should be because you don’t have permission

Add your computer’s public key to your GitHub account

How to generate a public key and search by yourself

Ty80

The public key has been added, can you provide how your private key is configured?

伊谢尔伦

How to generate public and private keys: https://help.github.com/articles/generating-an-ssh-key/

我想大声告诉你

You don’t have a processing key in your github settings

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template