Github ssh的连接问题
文章目录
kex_exchange_identification: Connection closed by remote host
Connection closed by 127.0.0.1 port 7890
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
or
ssh: connect to host github.com port 22: Connection refused
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.解决办法:在.ssh/config的host配置加上
HostName ssh.github.com
Port 443
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论