Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to launch ssh daemon on a SunOs 5.10 anyone knows how to help (command, etc)?

share|improve this question

migrated from Oct 17 '09 at 13:29

This question came from our site for professional and enthusiast programmers.

up vote 2 down vote accepted

svcadm enable ssh

If it does not work, please open second console and type

tail -f /var/svc/log/network-ssh\:default.log

Then try again and see if anything happens. If there are any problems with the service, they should get listed in the log file.

share|improve this answer
Thankyou, the command is right, now I have to figure out why it won't start or allow me to connect. :/ – Lex Jul 31 '09 at 10:04
You can try to check if there are any problems using svcs ssh The proper output should look similar to this: online Jul_21 svc:/network/ssh:default If it's online and it is still not working, please check the configuration (/etc/ssh/ssh_config). – piotrsz Jul 31 '09 at 10:17
svcs ssh gives offline state even if I started the service moments before, checked configuration file and found nothing useful, everything seems fine: listen port and addresses, protocol, X11 and else. – Lex Jul 31 '09 at 11:04
'ssh -x ssh' will show you were the logfile for the service is, for me the default is /var/svc/log/network-ssh:default.log. It may contain which bit of ssh is failing. You should also check the syslog where ssh-specific errors would show up. You could also try starting sshd yourself as root with the same command line arguments as the service to see what happens. – vs Jul 31 '09 at 11:51

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.