Sunday, June 29, 2008

Solaris: Installing SSHD

This assumes the Reduced Network Support software group was chosen during initial installation.

These packages will need to be installed in this order:

SUNWgssc
SUNWgss
SUNWsshcu
SUNWsshdr
SUNWsshdu

After these are installed, you will have to generate host keys for sshd. You do this with the following command:

/lib/svc/method/sshd -c

Now that the keys exist sshd can be started with this command:

svcadm enable -t ssh

And made to start at boot with this command:

svcadm enable ssh