≡ 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

/etc/rc.config.d/sshd

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 itGoogle+ itPDF itFound an error/typo on this page?

{ 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

    hi,

    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 …

    cmps

Leave a Comment