no matching cipher found / no matching key exchange method found 解决方法
修改ssh配置文件,添加相应设置即可

1.ssh 加密方法和密钥交换方式登陆设置方法

本地ssh需要进行设置

# 针对用户设置
vi ~/.ssh/config
# or 针对系统设置
sudo vi /etc/ssh/ssh_config

文件最后添加密钥交互算法,提示缺啥就添加啥:

# Host *
KexAlgorithms +diffie-hellman-group1-sha1
Ciphers 3des-cbc

或者直接在.ssh/目录下添加config文件

# Host * #所有ip
# Host xxx.xxx.xxx.xxx #指定ip
Ciphers 3des-cbc # xxx 各种密码加密方法
KexAlgorithms +diffie-hellman-group1-sha1
# user xxx
# Host xxx.xxx.xxx.xxx
# Port 22 # 或对应服务器的ssh端口

ref:
ssh:完整参考:https://www.iteye.com/blog/purplefairy-xxshi-2267874
私钥:https://blog.csdn.net/qq_15174755/article/details/91359200
cipher——Terminal找不到支持的密钥交换方法:https://blog.csdn.net/nellyp/article/details/83150460
https://www.cnblogs.com/tozh/p/10388023.html
key exchange method:https://blog.csdn.net/xzx_kag/article/details/53768136
https://blog.csdn.net/zhouyan8603/article/details/78348358
https://blog.csdn.net/u011983700/article/details/81738657



pic from pexels.com

【ssh登陆问题】no matching cipher found / no matching key exchange method found相关推荐

  1. ssh登录主机报错: Unable to negotiate with 172.222.222.243 port 22: no matching key exchange method found.

    问题:ssh登录主机报错 ssh root@172.222.222.243 报错 #报错Unable to negotiate with 172.222.222.243 port 22: no mat ...

  2. ssh 连接报错:Unable to negotiate with 192.168.xx.xx port 22: no matching key exchange method found.

    用 ssh 连接 Linux 服务器时,很偶然的情况下出现了如下报错: Unable to negotiate with xx.xx.xx.xx port 22: no matching key ex ...

  3. Unable to negotiate with 192.168.XX.XX port XXXX: no matching key exchange method found.

    问题 Unable to negotiate with 192.168.XX.XX port 29418: no matching key exchange method found. Their o ...

  4. no matching key exchange method found. Their offer: diffie-hellman-group-exchange-sha1

    问题:no matching key exchange method found. Their offer: diffie-hellman-group-exchange-sha1,diffie-hel ...

  5. Unable to negotiate with 100.9.70.30 port 29418: no matching key exchange method found

    1.问题 在Linux上 clone Gerrit 代码时报错:Unable to negotiate with 100.9.70.30 port 29418: no matching key exc ...

  6. Unable to negotiate with x.x.x.x port 22: no matching key exchange method found. Their offer: diffie

    今天需要ssh到centos5.10 64位机器上做点事情. windows和linux上 都运行ssh-keygen,一路回车,分别在两个系统的用户目录下生成.ssh文件夹 把windows .ss ...

  7. Unable to negotiate with 192.168.7.203 port 22: no matching key exchange method found. Their offer:

    Unable to negotiate with xxxx port xxxx: no matching key exchange method found. Their offer: diffie- ...

  8. git报错:no matching key exchange method found

    # emacs ~/.ssh/config Host 192.168.2.111KexAlgorithms +diffie-hellman-group1-sha1

  9. linux 连接网络设备报错 ssh no matching cipher found

    连接华三设备 Unable to negotiate with 192.168.56.2 port 22: no matching cipher found. Their offer: aes128- ...

最新文章

  1. 【转】不分英文字母大小寫的字串比較方式
  2. 《机器学习实战》第十三章 PCA
  3. 倍福TwinCAT(贝福Beckhoff)常见问题(FAQ)-Switch Case语句是否会自动跳转到下一个
  4. java io操作_Java 的IO操作(文件的读,写操作)
  5. linux怎么检测文件完整性,Linux如何基于AIDE检测文件系统完整性
  6. java启动应用_java 学习:在java中启动其他应用,由jenkins想到的
  7. linux audio A2B
  8. 使用php进行后台开发,PHP后台开发用到的基础方法整理【原创】
  9. LeetCode--265. 粉刷房子Ⅱ(动态规划)
  10. 解题报告 一元三次方程求解
  11. python中popen返回值_python中os.system()和os.popen()的返回值
  12. dos2unix 安装和使用
  13. 戴尔R730服务器,U盘安装服务器阵列(raid)卡驱动,识别硬盘。
  14. 0xc0000001报错解决办法
  15. Docker - 编译安装nginx镜像
  16. css布局-多行文字垂直居中
  17. DirectX11--实现一个3D魔方(1)
  18. 安卓学习笔记汇总----极客学院安卓教学视频观看所做的笔记和自己的理解
  19. Python控制tek示波器(1)
  20. 英特尔® 驱动程序和支持助理 (intel-driver-support-assistant) 安装后无法扫描电脑硬件驱动解决

热门文章

  1. 数学分析闭区间套定理_【缠论基础】区间套
  2. QT:不停的提示“文件已改变”
  3. [Unity] 战斗系统学习 11:Buff 框架 1
  4. html文件中包含相关的d3.js文件,D3.js进阶系列之CSV表格文件的读取详解
  5. 常用IE浏览器的兼容处理(方法一)
  6. 区块链JAVA数字交易所官方商业版开发级全套三端纯源码
  7. PHP付费资源下载交易平台网站源码
  8. linux常用时间命令全集,Linux 指令篇:日期时间排程--date
  9. discuz仿文明争霸游戏官网模版
  10. 表情包+外卖+壁纸小程序源码