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】WARNING: connection is not using a post-quantum key exchange algorithm.
git
一只程序熊1 天前
Git不常用操作记录
git
小龙1 天前
【Git 报错解决】 远程仓库 origin 已存在(`remote origin already exists`)
git·报错
BORN(^-^)1 天前
Git 操作概要
git
bigHead-1 天前
Git合并操作详解:安全高效地合并远程分支
git·安全·elasticsearch
C_心欲无痕1 天前
ts - 交叉类型
前端·git·typescript
秋饼2 天前
【K8S测试程序--git地址】
git·容器·kubernetes
小龙2 天前
【Git 报错解决】本地无有效提交无法推送(`src refspec main does not match any`)
git·github·报错
小扶苏2 天前
删除git全局账号信息并设置成新的账号密码命令
git
Greg_Zhong2 天前
Git创建任务分支进行开发,最后合并主分支master【纯git命令执行过程】阐述
git