LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Other *NIX (https://www.linuxquestions.org/questions/other-%2Anix-55/)
-   -   how to enable ssh in hpux (https://www.linuxquestions.org/questions/other-%2Anix-55/how-to-enable-ssh-in-hpux-421174/)

gsr_kashyap 03-03-2006 02:19 AM

how to enable ssh in hpux
 
hi guys,
i would like to know how do u enable ssh in hpux. is there any service like in hpux.
thnx in advance.

satinet 03-03-2006 03:01 AM

hello,

have you downloaded the ".depot" from www.software.hp.com

swinstall -s /pathtodepot/sshdepot.deopt


when you install the depot it will generate the keys for you...
BTW, this is open ssh.


it creates an init script called /sbin/init.d/secsh
you need edit /etc/rc.config.d/sshd and set SSHD_START=1

then start the service /sbin/init.d/secsh start

then you can follow my ssh guide if you need to (please vote for thread if you like it).

http://www.linuxquestions.org/questi...d.php?t=419680

gsr_kashyap 03-09-2006 12:50 AM

i have tried to install openssh-4.2p1-hppa-11.11.depot
i have'nt found and of the file u mentioned in /sbin/init.d/secsh or /sbin/init.d/secsh start

when i try start the service from /bin/sshd the following error is genrated

sshd re-exec requires execution with an absolute path

satinet 03-09-2006 04:20 AM

so there are no files called?????

/sbin/init.d/secsh

or

/etc/rc.config.d/sshd

i bet there are........

gsr_kashyap 03-09-2006 05:10 AM

sorry both r not there. is there any other version of openssh available?? i have searched for those files too!!!

satinet 03-09-2006 05:48 AM

did you download this from www.software.hp.com ??

try this:
Code:

cd /etc/rc.config.d/
grep -i sshd *

post the result.

then

Code:

cd /sbin/init.d/
grep -i sshd *

post the results


which version of HP-UX are you runnig? try

uname -a

maybe you have some old version...

gsr_kashyap 03-10-2006 04:04 AM

for cd /etc/rc.config.d/
grep -i sshd *
result: nothing comes out.it just returns back to prompt that's all!!

for cd /sbin/init.d/
grep -i sshd *
result : the same as for above

for uname -a : HP-UX pphpux B.11.11 U 9000/780 2015512551

satinet 03-10-2006 04:30 AM

do this:

swlist -l product|grep -i ssh

what's the result....??

gsr_kashyap 03-10-2006 04:33 AM

openssh 4.2p1 openssh
openssh 3.7.1p2 openssh

satinet 03-10-2006 05:34 AM

you got 2 versions installed - removed both and installed the latest one from www.software.hp.com (search for "ssh")

gsr_kashyap 03-13-2006 03:43 AM

ok i have removed 2 versions and installed openssh4.2p1 successfully
now i able to run ssh to other machines from hpux but i am unable to ssh to hpux machine. i am getting network connection refused. r there any firewalls in hpux??


All times are GMT -5. The time now is 03:15 PM.