ssh client 报 algorithm negotiation failed的解决方法之一
来源:互联网 发布:怎么复制淘宝店铺宝贝 编辑:程序博客网 时间:2024/06/08 01:56
修改sshd的配置文件 /etc/ssh/sshd_config
在配置文件中添加:
Ciphers aes128-cbc,aes192-cbc,aes256-cbc,aes128-ctr,aes192-ctr,aes256-ctr,3des-cbc,arcfour128,arcfour256,arcfour,blowfish-cbc,cast128-cbc
MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,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
重启sshd服务后,即可正常连接。
导致此问题的原因是ssh升级后,为了安全,默认不再采用原来一些加密算法,我们手工添加进去即可。
操作命令如下:
chmod 777 /etc/ssh/sshd_config
vi /etc/ssh/sshd_config
添加如下
Ciphers aes128-cbc,aes192-cbc,aes256-cbc,aes128-ctr,aes192-ctr,aes256-ctr,3des-cbc,arcfour128,arcfour256,arcfour,blowfish-cbc,cast128-cbcMACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-sha1-96,hmac-md5-96KexAlgorithms 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
重启 ssh
service sshd restart
阅读全文
0 0
- ssh client 报 algorithm negotiation failed的解决方法之一
- ssh client 报 algorithm negotiation failed的解决方法之一
- ssh client 报 algorithm negotiation failed的解决方法
- ssh client 报 algorithm negotiation failed
- SSH Secure File Transfer Client连接远程设备报“algorithm negotiation failed”错的解决方法
- ssh client algorithm negotiation failed
- ssh secure shell client 连接报错 algorithm negotiation failed
- ssh client在连接linux的时候 报 Algorithm negotiation failed
- algorithm negotiation failed的解决方法
- ssh连接报错 server responded "algorithm negotiation failed”
- Ubuntu SSH Algorithm negotiation failed
- SSH Secure Shell登录报错: Ubuntu SSH Algorithm negotiation failed
- SSH Secure Shell登录报错: Ubuntu SSH Algorithm negotiation failed
- SSH Client连接Linux出现~server responded “Algorithm negotiation failes”
- algorithm negotiation failed
- SSH Secure Shell 无法登录:server responded "algorithm negotiation failed”
- Win7 SSH Secure connect Ubuntu: server responded algorithm negotiation failed
- SSH Secure Shell 无法登录:server responded "algorithm negotiation failed”
- Mybatis核心技术
- STM32采集多路ADC到DMA的方法
- mybatis初步学习
- HDU6198-number number number
- jQuery :eq(注意是从零开始的index哦)
- ssh client 报 algorithm negotiation failed的解决方法之一
- redis学习笔记整理
- springboot与mybatis的整合
- notePad++插件的强大
- mybatis传递参数到xml的几种where语句的写法
- hdu 5812(数论)
- STM32之中断嵌套控制器
- springboot 简单web简单搭建和jsp界面
- Java基础——JSP(三)