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
Want to read Linux tips and tricks, but don't have time to check our blog everyday? Subscribe to our daily email newsletter to make sure you don't miss a single tip/tricks. Subscribe to our weekly newsletter here!


{ 1 comment… read it below or add one }
Why in the world can HP not do everything everyone else? Is it so hard to just name the startup script sshd?