使用SSH登录Solaris提示“Key exchange algorithm failed”的问题
2011-04-11 14:22
791 查看
错误现象:
解决办法:
(1) 删除/etc/ssh下面的公钥/私钥对
$ rm -rf /etc/ssh/ssh_host_*_key*
(2) 生成新的公钥/私钥对
$ /lib/svc/method/sshd -c
(3) 重启SSH服务
svcadm refresh ssh
Mar 22 13:31:35 t56222 sshd[12582]: [ID 800047 auth.crit] fatal: no common kex alg: client 'diffie-hellman-group1-sha1', server 'gss-group1-sha1-toWM5Slw5Ew8Mqkay+al2g==' |
(1) 删除/etc/ssh下面的公钥/私钥对
$ rm -rf /etc/ssh/ssh_host_*_key*
(2) 生成新的公钥/私钥对
$ /lib/svc/method/sshd -c
(3) 重启SSH服务
svcadm refresh ssh
相关文章推荐
- scp或ssh登录时遇到Host key verification failed问题的解决方法
- 使用SSH时提示 ”Server responded "Algorithm negotiation failed"
- 使用ssh登录远程机器出现key问题
- scp或ssh登录时遇到Host key verification failed问题的解决方法
- linux 禁止帐号密码验证 使用key验证方式登录SSH
- 登录ssh提示:ssh_exchange_identification: read: Connection reset by peer error
- 如何让ssh登录时不提示"是否要添加HostKey"
- 在使用shh远程连接时出现Host key verification failed.提示
- ssh登录失败:Host key verification failed
- 解决SUSE Linux无法使用SSH登录的问题
- ssh 连接的时候 Host key verification failed.问题解决
- 【OpenStack】SSH登录虚拟机出现"Read from socket failed: Connection reset by peer"问题的解决办法
- 解决SUSE Linux下SSH无法使用密码登录问题
- SSH 登录失败:Host key verification failed 的处理方法
- 使用public/private key让putty(ssh)自动登录
- SSH Secure Shell登录报错: Ubuntu SSH Algorithm negotiation failed
- expect解决ssh无法使用shell直接登录的问题
- Solaris10下Telnet、SSH、ftp使用root登录
- 【OpenStack】SSH登录虚拟机出现"Read from socket failed: Connection reset by peer"问题的解决办法
- 使用ssh工具远程登录centos中文乱码问题