Wednesday, February 3, 2016

sshd reload & shutdown

 let's reload sshd  
   
 debian & ubuntu  
 # /etc/init.d/sshd restart  
   
 redhat & centos  
 # /sbin/service sshd restart  
   
 solaris 8 & 9  
 # /etc/init.d/sshd stop  
 # /etc/init.d/sshd start  
   
 solaris 10 & 11  
 # svcadm disable ssh  
 # svcadm enable ssh  
   
 suse & sles  
 # /etc/rc.d/sshd restart  
   
   
 let's shutdown  
   
 hpux  
 reboot : shutdown -ry 0  
 shutdown: shutdown -hy 0  
   
 linux  
 reboot : shutdown -r now  
 shutdown: shutdown -h now  
   
 solaris 8, 9, 10  
 reboot : shutdown -y -i6 -g0  
 shutdown: shutdown -y -i5 -g0  

No comments: