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

解决ssh: connect to host github.com port 22: Connection refused

时间:2022-09-02 12:41:49

相关推荐

解决ssh: connect to host github.com port 22: Connection refused

网上的方案

链接: link

1.

vim ~/.ssh/config

Host User xxxxx@ Hostname PreferredAuthentications publickey IdentityFile ~/.ssh/id_rsa Port 443

修改host

首先到ipaddress输入查找到其IP地址

将查到的IP地址和网址映射放到你的本地 hosts 文件中即可,例子:140.82.112.4

windowshost默认地址:C:\Windows\System32\drivers\etc

我的解决方案

关闭加速器,成功解决。

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