Solaris 10 : installing … and starting SSHD
stephane
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 :
- ssh_host_dsa
- ssh_host_dsa.pub
- ssh_host_rsa
- 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.