SSH 登录时出现如下错误:No supported key exchange algorithms
来源:互联网 发布:淘宝儿童化妆品 编辑:程序博客网 时间:2024/06/07 04:05
原文地址: https://help.aliyun.com/knowledge_detail/41486.html
项目搬家后,好多同事登录 测试环境时,报“No supported key exchange algorithms” 类似的错误,采用了以下方法解决:
[root@centos]# cd /etc/ssh/
[root@centos]# ll
total 156
-rw-------. 1 root root 125811 Nov 23 2013 moduli
-rw-r--r--. 1 root root 2047 Nov 23 2013 ssh_config
-rw------- 1 root root 3639 May 16 11:43 sshd_config
-rw------- 1 root root 672 May 20 23:08 ssh_host_dsa_key
-rw-r--r-- 1 root root 590 May 20 23:08 ssh_host_dsa_key.pub
-rw------- 1 root root 963 May 20 23:08 ssh_host_key
-rw-r--r-- 1 root root 627 May 20 23:08 ssh_host_key.pub
-rw------- 1 root root 1675 May 20 23:08 ssh_host_rsa_key
-rw-r--r-- 1 root root 382 May 20 23:08 ssh_host_rsa_key.pub
[root@centos]# rm -rf ssh_host_*
[root@centos]# ll
total 132
-rw-------. 1 root root 125811 Nov 23 2013 moduli
-rw-r--r--. 1 root root 2047 Nov 23 2013 ssh_config
-rw------- 1 root root 3639 May 16 11:43 sshd_config
[root@centos]# service sshd restart
Stopping sshd: [ OK ]
Generating SSH1 RSA host key: [ OK ]
Generating SSH2 RSA host key: [ OK ]
Generating SSH2 DSA host key: [ OK ]
Starting sshd: [ OK ]
[root@centos]#
项目搬家后,好多同事登录 测试环境时,报“No supported key exchange algorithms” 类似的错误,采用了以下方法解决:
[root@centos]# cd /etc/ssh/
[root@centos]# ll
total 156
-rw-------. 1 root root 125811 Nov 23 2013 moduli
-rw-r--r--. 1 root root 2047 Nov 23 2013 ssh_config
-rw------- 1 root root 3639 May 16 11:43 sshd_config
-rw------- 1 root root 672 May 20 23:08 ssh_host_dsa_key
-rw-r--r-- 1 root root 590 May 20 23:08 ssh_host_dsa_key.pub
-rw------- 1 root root 963 May 20 23:08 ssh_host_key
-rw-r--r-- 1 root root 627 May 20 23:08 ssh_host_key.pub
-rw------- 1 root root 1675 May 20 23:08 ssh_host_rsa_key
-rw-r--r-- 1 root root 382 May 20 23:08 ssh_host_rsa_key.pub
[root@centos]# rm -rf ssh_host_*
[root@centos]# ll
total 132
-rw-------. 1 root root 125811 Nov 23 2013 moduli
-rw-r--r--. 1 root root 2047 Nov 23 2013 ssh_config
-rw------- 1 root root 3639 May 16 11:43 sshd_config
[root@centos]# service sshd restart
Stopping sshd: [ OK ]
Generating SSH1 RSA host key: [ OK ]
Generating SSH2 RSA host key: [ OK ]
Generating SSH2 DSA host key: [ OK ]
Starting sshd: [ OK ]
[root@centos]#
1 0
- SSH 登录时出现如下错误:No supported key exchange algorithms
- SSH 登录时出现如下错误:Host key verification failed的解决方案
- Putty登录阿里云CentOS时出现错误:Disconnected:No supported authentication methods available
- Maven 配置SSH环境,测试时出现如下错误
- git 添加 ssh keys 出现如下错误
- 登录ssh时Host key verification failed错误
- ssh:network error:no route to host ssh 登录出现的几种错误
- laravel5.1出现No supported encrypter found错误的解决办法
- TortoiseGit连接github出现disconnected no supported错误解决办法
- 漏洞SSH Weak Algorithms Supported简析
- 出现错误如下:AttributeError: 'module' object has no attribute 'SSL_ST_INIT'
- 关于javamail-with-ms-exchange-no-authentication-mechansims-supported-by-both-server错误的解决办法
- SSH 登录时出现公钥失效错误
- git 配置SSH error: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1
- 备份数据库时出现如下错误时
- 线程例子时,结果出现如下错误
- 启动tomcat时 出现如下错误:
- 使用SSH登录Solaris提示“Key exchange algorithm failed”的问题
- mysql 如何计算用户排名
- HTML乱码问题和header结构
- Linux中的file_struct、t命令以及atexit函数有关知识
- PHP MySQL Web开发
- Android Studio 不显示logcat
- SSH 登录时出现如下错误:No supported key exchange algorithms
- ARM架构和ARM核区别和联系
- Myeclipse运行Maven项目
- JAVA从入门到精通(2)
- 视频编码格式全面解析
- mvn出现GC overhead limit exceeded
- Android架构设计模式总结(MVX)
- logstash elasticsearch kibana搭建日志平台
- 策略模式