ESDS Knowledge Base

21
Oct

How to Start/Stop/Restart SSH Service in HPUX?

If you have made any changes in SSH config (sshd_config) file then to take the effect its necessary to restart the SSH Service. The script resides in ” /sbin/init.d ” directory

Use the below command to Stop the SSH Service in HP-UX:

/sbin/init.d/secsh stop

(This will not disconnect your SSH Session)

Use the below command to Start the SSH Service in HP-UX:

/sbin/init.d/secsh start

The service will not start if the parameters in sshd_config is not added correctly so be careful while modifying it.

Leave a Reply