ssh config files are in /etc/ssh

For status:

svcs -l ssh      or    svc:/network/ssh:default

To restart or enable or disable

svcadm restart svc:/network/ssh:default


Peter Steiner wrote, On 08/24/10 08:07:
 From Linux I know that the SSHd is installed in /etc/init.d and that I can 
start/stop it with the following 2 commands:

   sudo /etc/init.d/sshd start
   sudo /etc/init.d/sshd stop

This does somehow  not work on Solaris. I found no sshd in the mentioned 
directory. I found an sshd in /lib/svc/method/sshd
Is this the official place in OpenSolaris?

Can I start/stop it with the same parameters?

How can I find out if it is currently running?

Peter

_______________________________________________
opensolaris-help mailing list
opensolaris-help@opensolaris.org

Reply via email to