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.

August 17, 2007 at 10:00 pm by Stephane Kattoor
Category: Systems