一、场景

克隆代码库发生报错

二、具体报错信息

Unable to negotiate with XXX port : no matching host key type found. Their offer: ssh-rsa,ssh-dss

三、解决方案

# 首先保证在主目录下方,如果不是先运行: cd ~

cd .ssh
vim config

如果没有.ssh目录就新建一个运行:mkdir .ssh

然后往config文件中添加以下信息:

Host *
HostkeyAlgorithms +ssh-rsa
PubkeyAcceptedKeyTypes +ssh-rsa

再次尝试即可成功

【已解决】Unable to negotiate with XXX port : no matching host key type found. Their offer: ssh-rsa相关推荐

  1. Unable to negotiate with xxxxport 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss

    操作环境:Kali Linux 终端远程登录ssh时,提示如下错误: Unable to negotiate with 192.168.1.152 port 22: nomatching host h ...

  2. 【已解决】Unable to negotiate with — port 22: no matching host key type found. Their offer: ssh

    标题 mac系统,想通过ssh连接,但出现以下报错:Unable to negotiate with 10.188.5.86 port 22: no matching host key type fo ...

  3. 【已解决】Unable to negotiate with 47.98.49.44 port 22: no matching host key type found. Their offer: ssh

    文章目录 问题 解决 问题 运行 git clone git@code.aliyun.com:project-main/project-name.git,报错如下: Cloning into 'pro ...

  4. Unable to negotiate with 123.4.47.238 port 29418: no matching host key type found. Their offer: ssh-

    Unable to negotiate with 123.4.47.238 port 29418: no matching host key type found. Their offer: ssh- ...

  5. unable to negotiate with xxxxx port xxx: no matching host key type found. Their offer: ssh-rsa

    unable to negotiate with xxxxx port xxx: no matching host key type found. Their offer: ssh-rsa windo ...

  6. Unable to negotiate with xx.xx port xx: no matching host key type found. Their offer: ssh-rsa....

    背景 下载安装了官网最新的Git: 安装没问题,配置了name和email: 同时也配置了ssh秘钥到代码仓库: 使用git bash命令或者从idea中clone代码,报错如下: Unable to ...

  7. Unable to negotiate with 192.168.2.53 port 22: no matching host key type found. Their offer: ssh-rsa

    终端远程登录ssh时,提示如下错误: Unable to negotiate with 192.168.2.53 port 22: no matching host key type found. T ...

  8. Unable to negotiate with XXXX port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss

    问题描述 代码仓库已经添加了ssh公钥之后,克隆代码到本地时就报了这个问题 执行命令 git clone git@xxxxxxxxxxxxx.git 不能正常clone代码,报错信息如下: Unabl ...

  9. Unable to negotiate with XX.XX.XX.XX: no matching host key type found. Their offer: ssh-dss

    本文 Github/javamap 已收录,有Java程序员进阶技术知识地图以及我的系列文章,欢迎大家Star. 在我把本地程序提交到远程分支上时 $ git push origin share_da ...

最新文章

  1. 2021年春季学期-信号与系统-第二次作业参考答案-第五小题
  2. 计算机基础知识第四章测试,计算机基础知识测试题第四章
  3. 陶瓷气体放电管参数含义详解
  4. hdu2457:DNA repair
  5. 认识与入门 Markdown
  6. 怎么在Android布局里面写下拉框,Android CoordinatorLayout(六) 加入下拉功能
  7. javascript简单性能问题及学习笔记
  8. 【深度学习】有效防止过拟合
  9. 当下学习Linux该选择哪个产品?
  10. Vue 官方团队的 57 个技术分享,你看懂了几个?
  11. MySQL OCP 认证考试你知道吗?
  12. M8系统开发手记(2)
  13. h264解码之环路滤波
  14. 网络攻击——流量劫持
  15. 晨山资本王志飏:万物智联时代,智能企业的创新路径
  16. 计算机cdef盘无法显示,科技常识:如何解决电脑CDEF盘都打不开出现ldq
  17. Android相机开发详解(一)
  18. XSS注入基础入门篇
  19. FPGA入门(FPGA结构、Verilog编程基础)
  20. 【转载】CRC16大全

热门文章

  1. android自定义控件之模仿优酷菜单
  2. android查看联系人姓名和手机号码
  3. docker 集群中 nginx 配置 php 需要注意的地方
  4. 基于JAVA果之芒农场销售系统计算机毕业设计源码+数据库+lw文档+系统+部署
  5. jackson包下载地址
  6. Mongodb出现Error: couldn‘t add user: Could not find role: root@database 解决方法
  7. 【算法应用】关于工装检测的理解
  8. git bash报错fatal: detected dubious ownership in repository at的解决方法
  9. 简易版零钱通(OOP)
  10. phonegap 使用极光推送实现消息推送