Thursday, August 18, 2016

let's restart solaris 10 sshd

 To check if the service is online or offline:   
 # svcs -v ssh   
 online - 12:23:17 115 svc:/network/ssh:default   
   
 To stop the service:   
 #svcadm disable network/ssh   
   
 To start the service:   
 #svcadm enable network/ssh   
   
 To restart the service:   
 # svcadm restart network/ssh  

No comments: