git kex_exchange_identification 相关问题

某天使用 git pull 从 github 拉取代码时报如下错误:

kex_exchange_identification: read: Software caused connection abort banner exchange: Connection to 20.205.243.166 port 22: Software caused connection abort fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.

https://docs.github.com/zh/authentication/troubleshooting-ssh/using-ssh-over-the-https-port

配置一下 ~/.ssh/config:

复制代码
Host github.com
    Hostname ssh.github.com
    Port 443
    User git
相关推荐
如意.7594 小时前
【Linux开发工具实战】Git、GDB与CGDB从入门到精通
linux·运维·git
用户9186861286879 小时前
Git 版本控制完全指南:从入门到精通
git
简离11 小时前
Git 一次性清理已跟踪但应忽略文件
前端·git
Drone_xjw11 小时前
【环境搭建】Windows 10上使用Docker搭建本地Git仓库(Gitea)完整教程
windows·git·docker
疯狂成瘾者12 小时前
git学习目录
git·学习
曾几何时`13 小时前
Git——自用手册
git
新镜17 小时前
【git】 曾经合入的文件被删除,再次合入时,相同的文件路径并不会自动合入
git
console.log('npc')17 小时前
git commit之后,想撤销commit
git
春日见18 小时前
UniAD的逻辑,与传统自动驾驶的差异
人工智能·windows·git·机器学习·docker·容器·自动驾驶
奋斗者1号18 小时前
解决Git Push Gerrit分支失败的全流程实战
大数据·git·elasticsearch