≡ Menu

HP-UX start or stop / restart OpenSSH SSHD service

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

Share this tutorial on:

Like this? Follow us on Twitter OR support us by using Patreon

{ 3 comments… add one }
  • Josh June 17, 2008, 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?

  • Sandeep Sandhu October 5, 2009, 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.

  • lmx June 21, 2011, 2:36 pm

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


Security: Are you a robot or human?

Leave a Comment

You can use these HTML tags and attributes: <strong> <em> <pre> <code> <a href="" title="">

   Tagged with: , , , , , , , , ,