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
相关推荐
guwentian2 小时前
Git Worktree 实战:用并行多 Agent 把开发提速 N 倍
大数据·git·elasticsearch·wroktree
不吃鱼的羊5 小时前
Git识别未修改的文件有修改
git
蓝黑墨水7 小时前
一个git问题的处理
git
互联网中的一颗神经元10 小时前
21 — 额外命令:同时开两个窗口、自动检查哨
git
_道隐_13 小时前
git stash save 和 git stash push有什么区别?
git
_道隐_15 小时前
git stash如何pop指定的stash change?
git
PC2005-cloud17 小时前
Git学习笔记:GitHub Git Data API 完全指南,用 Go 操控 Git 底层对象
笔记·git·学习
Python私教1 天前
AI 并行编码的 Worktree 生命周期:创建、隔离与安全回收
人工智能·git
互联网中的一颗神经元1 天前
16 — 改写历史 rebase:搬家到新楼层,不是合并
git
互联网中的一颗神经元2 天前
19 — 贮藏与清理:stash 是抽屉,gc 是打包箱
git