Solaris 10 : installing … and starting SSHD

First of, you’ll have to locate and install the following packages :

  • SUNWsshcu
  • SUNWsshdr
  • SUNWsshdu
  • SUNWsshr
  • SUNWsshu

The two last are the SSH client parts, it doesn’t hurt to install them.

You need to have the server keys generated in /etc/ssh. Those are the 4 files :

  1. ssh_host_dsa
  2. ssh_host_dsa.pub
  3. ssh_host_rsa
  4. ssh_host_rsa.pub

Should they not to be there, you can still generate by issuing the following command : /lib/svc/method/sshd -c.

Finally, you can start the service with svcadm enable sshd.

If this fails then you’ll need to have a peek under the hood … The logs of SMF are located in /var/svc/log and the one of sshd is network-ssh:default.log.

4 thoughts on “Solaris 10 : installing … and starting SSHD”

  1. Hi,

    a little mistake in your useful article: when you say “Should they not to be there, you can still generate by issuing the following command : /lib/svc/method/ssh -c.” you need to change in “Should they not to be there, you can still generate by issuing the following command : /lib/svc/method/sshd -c.”. Note the use of /lib/svc/method/sshd instead of /lib/svc/method/ssh.

    Bye
    Piero

  2. I had to use ‘svcadm enable ssh’ instead of ‘svcadm enable sshd’ for Solaris 10 10/08.

    Thanks for the post!

Leave a Reply

Your email address will not be published. Required fields are marked *