1748128 Members
4203 Online
108758 Solutions
New Discussion юеВ

SSH for HP-UX 11.00

 
SOLVED
Go to solution
Charlie123
Frequent Advisor

SSH for HP-UX 11.00

Hi all,

I downloaded T1471AA_A.05.10.045_HP-UX_B.11.11_32_64.depot

Here is my output, can anyone help?
Thanks a lot.

Charlie
---------------------------------------

awagshp 25 [/tmp/hp_ssh] #swlist -d -s ./T1471AA_A.05.10.045_HP-UX_B.11.11_32_64.depot
# Initializing...
# Contacting target
"./T1471AA_A.05.10.045_HP-UX_B.11.11_32_64.depot"...
ERROR: Could not contact host
"./T1471AA_A.05.10.045_HP-UX_B.11.11_32_64.depot". Make sure
the hostname is correct.
ERROR: More information may be found in the daemon logfile on this
target (default location is
./T1471AA_A.05.10.045_HP-UX_B.11.11_32_64.depot:/var/adm/sw/swagentd.log).

awagshp 26 [/tmp/hp_ssh] #swlist -s ./T1471AA_A.05.10.045_HP-UX_B.11.11_32_64.depot T1471AA
# Initializing...
# Contacting target
"./T1471AA_A.05.10.045_HP-UX_B.11.11_32_64.depot"...
ERROR: Could not contact host
"./T1471AA_A.05.10.045_HP-UX_B.11.11_32_64.depot". Make sure
the hostname is correct.
ERROR: More information may be found in the daemon logfile on this
target (default location is
./T1471AA_A.05.10.045_HP-UX_B.11.11_32_64.depot:/var/adm/sw/swagentd.log).

awagshp 27 [/tmp/hp_ssh] #uname -a
HP-UX awagshp B.11.00 E 9000/803 2008924973 8-user license
awagshp 28 [/tmp/hp_ssh] #

Then I downloaded SSH from here:
http://mirrors.develooper.com/hpux/downloads.html#hpux1100
As my host does not have bzip2, then I downloaded it as well. I run bzip2 it complained:
awagshp 86 [/tmp/hp_ssh] #bzip2
bzip2: Executable file incompatible with hardware.
awagshp 87 [/tmp/hp_ssh] #

Can any one direct me a clear way to set up SSH service in my old HP-UX 11.00?

Thanks a lot.

Charlie
48 REPLIES 48
Patrick Wallek
Honored Contributor

Re: SSH for HP-UX 11.00

The 11.11 version of SSH will NOT run on 11.0.

Go here:

http://mirrors.develooper.com/hpux/downloads.html

And look in the 11.0 section. You will see OpenSSH available for download there.
Charlie123
Frequent Advisor

Re: SSH for HP-UX 11.00

Thanks Patric.
I downloaded openssh-5.1p1-11.00.sd.bz from where you directed, and downloaded bzip2-1.0.2-pa2.0 as well. I renamed it to bzip2, when I run bzip2, it complained the hardware incompatible.

Any further help?

Thanks a lot.
Charlie
Patrick Wallek
Honored Contributor

Re: SSH for HP-UX 11.00

What kind of hardware do you have?

What does the 'model' command return?

The version of 'bzip' you downloaded was built for a PA-RISC 2.0 architecture server.

It is possible you have a PA-RISC 1.1 server. Try downloading the version of bzip listed in the 10.20 category and see if that will work.
Charlie123
Frequent Advisor

Re: SSH for HP-UX 11.00

Hi Patric,

I used bzip2-1.0.2-pa1.1 ( for 10.20 ) on 11.00, it seemed OK. Then I tried installation but failed.

Look at these steps:

1:)
./bzip2-1.0.2-pa1.1 -d openssh-5.1p1-11.00.sd.bz
( The above cmd OK, I got openssh-5.1p1-11.00.sd )

2:)
swinstall -s ./openssh-5.1p1-11.00.sd

( I got:
a:) Checking CD-ROM ....
b:)
Could not contact host "./openssh-5.1p1-11.00.sd". Make sure the ├в ├в
├в ├в ├в ├в ├в ├в hostname is correct.

3:)
awagshp 16 [/tmp/hp_ssh] #model
9000/803/D220
Is it PAR-RISC 1.1 or 2.0, I do not know.

Any clue?
Thanks a lot.
Charlie
smatador
Honored Contributor

Re: SSH for HP-UX 11.00

Hi,
Check first with this thread to resolve the host
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=22872
restart with swagentd -r, you swagent daemon
and another idea, assuming you openssh depot is in /tmp, try swinstall -s /tmp/openssh.xxx
Hope it helps to install openssh.
Charlie123
Frequent Advisor

Re: SSH for HP-UX 11.00

Hi smatador,
Thanks for reply.

I did the following:
1:)
awagshp 61 [/etc] #nslookup awagshp
Using /etc/hosts on: awagshp

Name: awagshp
Address: 10.2.240.31

hosts file entries are fine.

2:)
/etc/nsswitch.conf gave me this:
hosts: files nis dns

4:) file /etc/rc.config.d/netconf has this entry:
HOSTNAME=awagshp

3:) I did this:
awagshp 65 [/etc] #/usr/sbin/swagentd -r
awagshp 66 [/etc] #

4:) I still got these:
awagshp 10 [/tmp/hp_ssh] #swinstall -s ./openssh-5.1p1-11.00.sd openssh

======= 04/09/09 10:04:34 EST BEGIN swinstall SESSION
(non-interactive)

* Session started for user "root@awagshp".

* Beginning Selection
* Target connection succeeded for "awagshp:/".
ERROR: Could not contact host "./openssh-5.1p1-11.00.sd". Make sure
the hostname is correct.
* Source connection failed for
"./openssh-5.1p1-11.00.sd:/var/spool/sw".
WARNING: More information may be found in the daemon logfile on this
target (default location is
./openssh-5.1p1-11.00.sd:/var/adm/sw/swagentd.log).
* Selection had errors.



======= 04/09/09 10:04:36 EST END swinstall SESSION (non-interactive)

awagshp 11 [/tmp/hp_ssh] #

I have tried a few times & still got this error. Can you help further?
Thanks a lot.
Charlie



Dennis Handly
Acclaimed Contributor
Solution

Re: SSH for HP-UX 11.00

>9000/803/D220 Is it PA-RISC 1.1 or 2.0?

Since it doesn't work, it isn't 2.0.
http://docs.hp.com/en/5992-2331/ch04s09.html
PA-7xxx D220/D230 discontinued June 1, 2000.
Patrick Wallek
Honored Contributor

Re: SSH for HP-UX 11.00

Install this way:

swinstall -s /tmp/hp_ssh/openssh-5.1p1-11.00.sd \*
Charlie123
Frequent Advisor

Re: SSH for HP-UX 11.00

Hi Patrick,

Thanks for reply.

Here is the output with your instruction.
-----------------------------------------
awagshp 76 [/tmp/hp_ssh] #swinstall -s /tmp/hp_ssh/openssh-5.1p1-11.00.sd \*

======= 04/09/09 13:15:45 EST BEGIN swinstall SESSION
(non-interactive)

* Session started for user "root@awagshp".

* Beginning Selection
* Target connection succeeded for "awagshp:/".
* "awagshp:/tmp/hp_ssh/openssh-5.1p1-11.00.sd": This source is
a tape device.
* "awagshp:/tmp/hp_ssh/openssh-5.1p1-11.00.sd": Cannot open the
logfile on this target or source. Possibly the media is
read-only or there is a permission problem. Check the daemon
logfile and "/var/tmp/swagent.log" on this host for more
information.
* Source: /tmp/hp_ssh/openssh-5.1p1-11.00.sd
* Targets: awagshp:/
* Software selections:
openssh.openssh-CFG,r=5.1p1,a=HP-UX_B.11.00_PA,v=PROCURA
openssh.openssh-MAN,r=5.1p1,a=HP-UX_B.11.00_PA,v=PROCURA
openssh.openssh-RUN,r=5.1p1,a=HP-UX_B.11.00_PA,v=PROCURA
* Selection succeeded.


* Beginning Analysis
* Session selections have been saved in the file
"/.sw/sessions/swinstall.last".
ERROR: "awagshp:/": The software dependencies for 1 products or
filesets cannot be resolved.
* The analysis phase failed for "awagshp:/".
* Analysis had errors.


* Beginning Execution
ERROR: "awagshp:/": 1 filesets were determined to be skipped in the
analysis phase.
* The execution phase failed for "awagshp:/".
* Execution had errors.


NOTE: More information may be found in the agent logfile (location
is awagshp:/var/adm/sw/swagent.log).

======= 04/09/09 13:16:29 EST END swinstall SESSION (non-interactive)

awagshp 77 [/tmp/hp_ssh] #
------------------------------------

It seemed to me the installation & execution both failed.

I need more help.
Thank you,
Charlie