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
相关推荐
艾莉丝努力练剑1 天前
【Git:多人协作】Git多人协作实战:从同分支到多分支工作流
服务器·c++·人工智能·git·gitee·centos·项目管理
liuyao_xianhui2 天前
版本控制器git--gdb/cgdb
linux·运维·服务器·git
徐同保2 天前
如何使用GitKraken把git项目迁移到另一个平台,并保存所有提交记录,例如把github上的项目,迁移到gitee
git·gitee·github
高小秋2 天前
项目开发使用 git工作流插件 -- jgitflow开发实践
git
tealcwu2 天前
【软件工程】浅析Git message, version, changelog之间的关系
git
五号厂房2 天前
Git Worktree 使用指南
git
秦jh_2 天前
【git】企业级开发模型
git
y***54882 天前
Git在开源项目中的协作
git
老友記2 天前
git cherry-pick使用
git
练习时长一年2 天前
git常用命令总结
大数据·git·elasticsearch