1836357 Members
1879 Online
110100 Solutions
New Discussion

sshd deamon restart

 
Eric Jacklin
Regular Advisor

sshd deamon restart

Hi

OS :HPUX 11.11

Would you please let me know what is the procedure to to reread the sshd config file.

or please let me know what is the procedure to restart the sshd deamon.
it gives me following error
# /usr/sbin/sshd stop
Extra argument stop.
3 REPLIES 3
Deepak Kr
Respected Contributor

Re: sshd deamon restart

Hi,

You can do it using following:

#/sbin/init.d/secsh start/stop

If not able to stop for some reasons then you can kill running process using

#kill -SIGHUP `cat /var/run/sshd.pid`

"There is always some scope for improvement"
Eric Jacklin
Regular Advisor

Re: sshd deamon restart

thanks
Deepak Kr
Respected Contributor

Re: sshd deamon restart

Jits,

It is a nice idea to assign points to all people who took their valuable time to find solution for you!!

"There is always some scope for improvement"