LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Other *NIX
User Name
Password
Other *NIX This forum is for the discussion of any UNIX platform that does not have its own forum. Examples would include HP-UX, IRIX, Darwin, Tru64 and OS X.

Notices


Reply
  Search this Thread
Old 03-03-2006, 02:19 AM   #1
gsr_kashyap
Member
 
Registered: Jul 2004
Location: india
Distribution: Ubuntu 14.04
Posts: 155

Rep: Reputation: 15
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.
 
Old 03-03-2006, 03:01 AM   #2
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
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

Last edited by satinet; 03-03-2006 at 03:38 AM.
 
Old 03-09-2006, 12:50 AM   #3
gsr_kashyap
Member
 
Registered: Jul 2004
Location: india
Distribution: Ubuntu 14.04
Posts: 155

Original Poster
Rep: Reputation: 15
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
 
Old 03-09-2006, 04:20 AM   #4
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
so there are no files called?????

/sbin/init.d/secsh

or

/etc/rc.config.d/sshd

i bet there are........
 
Old 03-09-2006, 05:10 AM   #5
gsr_kashyap
Member
 
Registered: Jul 2004
Location: india
Distribution: Ubuntu 14.04
Posts: 155

Original Poster
Rep: Reputation: 15
sorry both r not there. is there any other version of openssh available?? i have searched for those files too!!!

Last edited by gsr_kashyap; 03-09-2006 at 05:12 AM.
 
Old 03-09-2006, 05:48 AM   #6
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
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...

Last edited by satinet; 03-09-2006 at 05:49 AM.
 
Old 03-10-2006, 04:04 AM   #7
gsr_kashyap
Member
 
Registered: Jul 2004
Location: india
Distribution: Ubuntu 14.04
Posts: 155

Original Poster
Rep: Reputation: 15
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
 
Old 03-10-2006, 04:30 AM   #8
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
do this:

swlist -l product|grep -i ssh

what's the result....??
 
Old 03-10-2006, 04:33 AM   #9
gsr_kashyap
Member
 
Registered: Jul 2004
Location: india
Distribution: Ubuntu 14.04
Posts: 155

Original Poster
Rep: Reputation: 15
openssh 4.2p1 openssh
openssh 3.7.1p2 openssh
 
Old 03-10-2006, 05:34 AM   #10
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
you got 2 versions installed - removed both and installed the latest one from www.software.hp.com (search for "ssh")
 
Old 03-13-2006, 03:43 AM   #11
gsr_kashyap
Member
 
Registered: Jul 2004
Location: india
Distribution: Ubuntu 14.04
Posts: 155

Original Poster
Rep: Reputation: 15
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??
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to enable ssh service on suse 10? ArthurHuang SUSE / openSUSE 8 09-15-2017 06:33 AM
enable ssh davidhk Debian 7 10-09-2007 05:49 PM
Enable SSH carlosinfl Linux - Networking 11 09-17-2005 11:27 PM
Enable ssh to server Kdr Kane SUSE / openSUSE 1 06-20-2005 01:06 PM
How do I enable SSH in suse 9.1 pro? wearetheborg Linux - Software 3 10-16-2004 03:13 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Other *NIX

All times are GMT -5. The time now is 12:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration