First of, you’ll have to locate and install the following packages :
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 :
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”
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.
Thanks for passing by and for spotting this mistake ! I correct it right away ðŸ™‚
I had to use ‘svcadm enable ssh’ instead of ‘svcadm enable sshd’ for Solaris 10 10/08.
Thanks for the post!
Comments are closed.