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
相关推荐
不搞学术柒柒2 小时前
Git新功能完整开发提交流程
git
午安~婉6 小时前
Git中SSH连接
前端·git·gitee
888CC++7 小时前
VS Code Git 工作树:解锁多分支并行开发新体验
git
阿虎儿7 小时前
Git exclude 功能解析
git
隔窗听雨眠8 小时前
VS Code Git工作树:多分支并行开发的完整实践方案
git
^yi8 小时前
【Linux系统编程】快速上手git仓库管理,核心三板斧
git
郝同学今天有进步吗10 小时前
构建 LangGraph Code Review Agent(四):文件过滤与 AnalysisPackage 分包
git·python·ai·code review
胖大和尚1 天前
git本地实现local->remote推送
git
BerryS3N1 天前
Code Git 工作树:多分支开发的痛点与工作树的曙光
大数据·git·elasticsearch
lbb 小魔仙1 天前
Git + Python 项目工作流最佳实践:pre-commit、CI、CHANGELOG 自动化
git·python·ci/cd