ssh 命令报错
root@osssvr-standby1 # ssh 0
no common kex alg: client 'diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1', server 'gss-group1-sha1-toWM5Slw5Ew8Mqkay+al2g=='
解决方法:
1. rm /etc/ssh/ssh_host_*
2./lib/svc/method/sshd -c (to create new rsa/dsahost pair key)
3.svcadm restart ssh
页:
[1]