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
相关推荐
嘻嘻仙人4 天前
Ubuntu中 git上传自己的项目和二次上传一般流程
git·github
Patrick_Wilson4 天前
Squash Merge 的血缘陷阱:为什么删掉的代码又活了过来
前端·git·程序员
沉浸学习的匿名网友4 天前
什么是 .gitignore?为什么每个 Git 项目几乎都离不开它?
前端·git
深海鱼在掘金5 天前
Git 完全指南 —— 第3章:理解工作区、暂存区、版本库三个核心
git
江华森5 天前
Git 基础筑基:从原理到团队协作的全栈实战
git
JakeJiang5 天前
Git 必备命令指南:从日常高频到项目开发实战
git
叫我少年6 天前
Windows 中安装 git
git
深海鱼在掘金11 天前
Git 完全指南 —— 第1章:Git 概览与版本控制演进
git
noravinsc12 天前
关于Git Flow
git
蜜獾云12 天前
在Git中配置用户名和密码
git