ssh报错:server responded "algorithm negotiation failed"

原因是SSH升级后,为了安全,默认不再采用原来的一些加密算法,需要手动添加

1、在/etc/ssh/sshd_config的结尾添加

Ciphers aes128-cbc,aes192-cbc,aes256-cbc,aes128-ctr,aes192-ctr,aes256-ctr,3des-cbc
MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-sha1-96,hmac-md5-96
KexAlgorithms diffie-hellman-group1-sha1,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group-exchange-sha256,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group1-sha1,curve25519-sha256@libssh.org

2、重启

systemctl restart sshd.service

3、开机自启:

systemctl enable sshd.service

4、查看启动状态

systemctl status sshd.service

server responded algorithm negotiation failed相关推荐

  1. Ubuntu16.04连接SSH出现 Server responded “Algorithm negotiation failed” 的解决方法

    Ubuntu16.04连接SSH出现 Server responded "Algorithm negotiation failed" 的解决方法 参考文章: (1)Ubuntu16 ...

  2. openssh无法登录:server responded algorithm negotiation failed”

    修改ssh的配置文件 /etc/ssh/sshd_config 在配置文件中添加: Ciphers aes128-cbc,aes192-cbc,aes256-cbc,aes128-ctr,aes192 ...

  3. Ubuntu SSH Algorithm negotiation failed

    问题 解决方法 chmod 777 /etc/ssh/sshd_config gedit /etc/ssh/sshd_config 添加如下 Ciphers aes128-cbc,aes192-cbc ...

  4. 连接Ubuntu 出现 Algorithm Negotiation failed 错误

    以下方法在最新的Ubuntu 20.04验证成功: sudo vim /etc/ssh/sshd_config 增加以下两行: KexAlgorithms +diffie-hellman-group1 ...

  5. Failed to load module script: The server responded with a non-JavaScript MIME type of “text/plain“.

    flask 使用es6语法中 type='module' 报错 报错如下: Failed to load module script: The server responded with a non- ...

  6. Springboot 页面访问不到静态资源Failed to load resource: the server responded with a status of 404 ()

    Springboot 页面访问不到静态资源 问题:在HTML文件中引入图片,但是浏览器访问不到图片. index.html: <!DOCTYPE html> <html xmlns: ...

  7. 接入谷歌AdSense后浏览器控制台报错:Failed to load resource: the server responded with a status of 403的原因及解决办法、

    本篇文章主要讲解,接入谷歌AdSense后浏览器控制台报错:Failed to load resource: the server responded with a status of 403 ads ...

  8. JavaWeb、Tomcat、jquery:Failed to load resource: the server responded with a status of 500 ()

    文章目录 报错 分析解决 尝试1 尝试2 总结 报错 这里是后台获取数据再给到另外一个前端页面输出数据,但是点击了提交按钮后页面并没有反应,通过浏览器的开发者模式发现以下错误. 分析解决 尝试1 Fa ...

  9. HTML页面跨域请求图片资源报错:Failed to load resource: the server responded with a status of 403 (Forbidden)

    笔者近日刚刚完成了一个Spring boot项目,首页 index.html 页面元素 <img> 引用了第三方服务器的图片链接,在本地测试环境输入 http://localhost 或者 ...

最新文章

  1. php insert failed,较大的MySQL INSERT语句导致PHP错误
  2. 对比:Linux和Windows系统线程间的区别
  3. 企业网站如何具备亲和力?
  4. MySQL数据库技术与应用:数据查询
  5. Python 数据可视化利器 plus(plotly )
  6. mybatis mysql 模糊查询语句_mybatis+Spring mysql的模糊查询问题
  7. linux下python网络编程框架-twisted安装手记,linux下Python网络编程框架-Twisted安装
  8. 8.《创业邦》:十大创业困境
  9. 系统架构设计师与系统分析师历年实体分析与解答下载_【系统分析师】07-系统设计...
  10. 【原创】从文华财经下载数据并且分析每个期货品种的贝塔值-云金杞
  11. Django框架学习——4—(DTL模板标签、模版常用过滤器、模版结构优化、加载静态文件)
  12. 学习SEO就到SEOWHY,SEO十万个为什…
  13. SQL:查询结果升序、降序排列
  14. 十大算法--支持向量机
  15. ES分组查询,统计组名
  16. 如何补丁1个文件(linux diff patch)
  17. 移动手机市场或被洗牌
  18. 计算机技术与软件专业资格(水平)考试 报考指南
  19. [渝粤教育] 沈阳工程学院 通用英语(四) 参考 资料
  20. Spring Boot电商项目59:订单模块八:【后台:订单列表】接口;

热门文章

  1. 服务端指南 数据存储篇 | 选择合适的数据存储方案
  2. 因为暑期实习,九百万2021年应届生自闭了......
  3. ai切换rgb模式_当AI频繁切换色彩预览模式时 颜色会越变越深 求解?
  4. 为什么世上没有免费午餐
  5. 机器学习---“没有免费的午餐”(no free lunch)定理简单易懂的解释
  6. 刷机必看recovery和fastboot是什么意思
  7. 施工员证怎么报考?施工员证需要什么条件才能考?
  8. 光学动作捕捉系统在自动化控制领域中的应用
  9. python解析xml文件最好选用的模块_python高级编程 之解析XML文件模块
  10. 台式机计算机图标不见了,台式机电脑输入法不见了怎么调出来