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:
(This will not disconnect your SSH Session)
Use the below command to Start the SSH Service in HP-UX:
The service will not start if the parameters in sshd_config is not added correctly so be careful while modifying it.