I need to launch ssh daemon on a SunOs 5.10 anyone knows how to help (command, etc)?
Asked
Active
Viewed 5,227 times
1 Answers
2
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.

piotrsz
- 216
- 1
- 2
-
Thankyou, the command is right, now I have to figure out why it won't start or allow me to connect. :/ – 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. – 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. – Jul 31 '09 at 11:51