HP-UX start or stop / restart OpenSSH SSHD service

by on July 17, 2007 · 3 comments· LAST UPDATED July 17, 2007

in , ,

Q. I’ve HP-UX installed on my HP UX UNIX server. But I’m not able to start or restart the OpenSSH ssh server. How do I stop or restart sshd under HP-UX?
A. HP-UX Secure Shell uses Pluggable Authentication Module for password authentication. Server configuration file is located at /opt/ssh/etc/sshd_config.

HP-UX SSHD System Startup and Shutdown script:

/sbin/init.d/secsh {start|stop}

System startup configuration file


Stop HP UX SSH Service

Type the command:
# /sbin/init.d/secsh stop

Start HP UX SSH Service

Type the command:
# /sbin/init.d/secsh start

Tweet itFacebook itG+ itDownload PDF versionFound an error/typo on this page?

{ 3 comments… read them below or add one }

1 Josh June 17, 2008 at 3:17 pm

Why in the world can HP not do everything everyone else? Is it so hard to just name the startup script sshd?


2 Sandeep Sandhu October 5, 2009 at 12:02 pm


can anybody please tell me that if i have to change the mode the service manually to automatically then how can i fix it.


3 lmx June 21, 2011 at 2:36 pm

you bet, this fucking shiit of HP F*ck all the time my life with ther atitude …



Leave a Comment

Tagged as: , , , , , , , , ,

Previous Faq:

Next Faq: