On Sun, 13 Jan 2013, Serge Fonville wrote:

It took me 2 minutes to set it up, succesfully

The steps I took:

create key using ssh-keygen
edit sshd_config and set PermitRootLogin to yes
restarted sshd
added the public key to authorized_keys
specified the private key in the connection

I tried with and without and empty root password

What did you do different?

As far as I know, that is what I did.

Various other people have experienced similar Solaris related issues. These postings suggest editing /etc/pam.conf. Neither edit worked for me:

http://snltd.co.uk/snippets/index.php?c=v&sn=ssh_as_root.php&PHPSESSID=25648260eca8ea5afc1e120278b2b1f6

http://www.semicomplete.com/blog/geekery/solaris-10-sshd-publickey-solution.html

If it makes any difference, I am using OpenIndiana oi_151a7 on the server host. Ssh on the server host identifies itself as

Sun_SSH_1.5, SSH protocols 1.5/2.0, OpenSSL 0x0090818f

And the ssh client (Solaris 10) is

Sun_SSH_1.1.5, SSH protocols 1.5/2.0, OpenSSL 0x0090704f

I am only using files+DNS for configuration. No LDAP, NIS, or anything fancy like that.

Bob
--
Bob Friesenhahn
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

_______________________________________________
OpenIndiana-discuss mailing list
[email protected]
http://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to