Tuesday, December 22, 2009

Solaris 10 - SSH problem

Unable to SSH into the server due to no common Kex alg (After patching up Solaris 10)

Error Message
==========
no common kex alg: client 'diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1', server 'gss-group1-sha1-toWM5Slw5Ew8Mqkay+al2g=='


[a] generate ssh keys
# /lib/svc/method/sshd -c


[b] Allow remote root login in /etc/ssh/sshd_config ( Only for those using root access)
PermitRootLogin no -> PermitRootLogin yes

[c] enable ssh daemon
# /usr/sbin/svcadm enable ssh

1 comment:

  1. I really appreciate the kind of topics you post here. Thanks for sharing us a great information that is actually helpful. Good day! more information here

    ReplyDelete