Operating System - HP-UX
1828993 Members
2384 Online
109986 Solutions
New Discussion

Automatic startup of HP-UX Secure Shell

 
SOLVED
Go to solution
Mihails Nikitins
Super Advisor

Automatic startup of HP-UX Secure Shell

Hi,

I've just installed HP-UX secure shell. Unfortunately, there are no HP recommendations about automatic startup procedures. I have idea how to enable automatic start-up of it, but please share your nice HP-UX style startup procedures (something like /sbin/init.d/sshd file).

Installation procedure seems to be incomplete, because HP includes a configuration file /etc/rc.config.d/sshd

Installation instruction offers
Verify the HP-UX Secure Shell daemon (sshd) is running: $ ps -ef | grep sshd

but it looks like a joke. :-)

Many points in advance!

BR,
Mihail
KISS - Keep It Simple Stupid
5 REPLIES 5
James Beamish-White
Trusted Contributor

Re: Automatic startup of HP-UX Secure Shell

Here's my version.

Cheers!
James
GARDENOFEDEN> create light
Darrell Allen
Honored Contributor
Solution

Re: Automatic startup of HP-UX Secure Shell

Hi Mihail,

The ssh package I installed from HP installed /sbin/init.d/secsh, /sbin/rc1.d/K393secsh, and /sbin/rc2.d/S393secsh

Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)
Darrell Allen
Honored Contributor

Re: Automatic startup of HP-UX Secure Shell

And here it is...

I meant to attach it in the previous post.

Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)
Wodisch_1
Honored Contributor

Re: Automatic startup of HP-UX Secure Shell

Hi Mihail,

James' start script is fine - you only have to substitute the directory he uses with the one HP uses: it should be "/opt/ssh/sbin/sshd"...

HTH,
Wodisch
Mihails Nikitins
Super Advisor

Re: Automatic startup of HP-UX Secure Shell

Hi,

Thanks for your replies! HP has done everything about the start-up, it was my fault. I searched for scripts like 'sshd' (common name for most Unix systems) and did not notice 'secsh' files.

James' variant is good but it does not use config file /etc/rc.config.d/sshd

BR,
Mihail
KISS - Keep It Simple Stupid