- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: SSH for HP-UX 11.00
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2009 02:53 AM
04-22-2009 02:53 AM
Re: SSH for HP-UX 11.00
Will show you all of the files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2009 03:07 AM
04-22-2009 03:07 AM
Re: SSH for HP-UX 11.00
>
>Will show you all of the files
... which I just ran on the depot that Merijn provided, revealing:
# openssh 5.2p1 openssh
# openssh.openssh-CFG OpenSSH configuration files
openssh.openssh-CFG: /etc/rc.config.d/opensshd
openssh.openssh-CFG: /sbin/init.d/openssh
openssh.openssh-CFG: /usr/local/etc/moduli
openssh.openssh-CFG: /usr/local/etc/ssh_config
openssh.openssh-CFG: /usr/local/etc/sshd_config
amongst other files...
so I gues running:
/sbin/init.d/openssh start
will probably get you going...
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2009 04:37 AM
04-22-2009 04:37 AM
Re: SSH for HP-UX 11.00
# /usr/local/sbin/sshd
which is essentially what
# /sbin/init.d/openssh start
will do in the background for you
You might be missing /var/empty or a ssh user
If you have nothing at all, a basic OpenSSL setup might look like
# cd /usr/local/etc/openssh
# /usr/local/bin/ssh-keygen -t dsa -N "" -f ssh_host_dsa_key
# /usr/local/bin/ssh-keygen -t rsa -N "" -f ssh_host_rsa_key
# /usr/local/bin/ssh-keygen -t rsa1 -N "" -f ssh_host_key
# echo 'sshd:*:22:3::/var/empty:/sbin/sh' >>/etc/passwd
# mkdir /var/empty
# chmod 755 /var/empty
# /usr/local/sbin/sshd
And then test
# ssh ${USER}@localhost
BTW, I still don't see a single post in this thread where you assigned points to
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2009 05:38 PM
04-22-2009 05:38 PM
Re: SSH for HP-UX 11.00
Thanks all for replies. I should have submitted points earlier as I did not really find the link to do so earlier. I have done now. The replies are all of great help.
The cmd: swlist -l file openssh
gave me many things similiar to Duncan posted.
I also found the sshd by "find / -name "*ssh*" -print. It gave me many such as:
/etc/rc.config.d/opensshd
....
/sbin/init.d/openssh
....
etc.
Then when I tested, I got this:
awagshp 27 [/usr/local/etc] #/usr/local/bin/ssh-keygen -t dsa -N "" -f ssh_host_dsa_key
/usr/lib/dld.sl: Can't open shared library: /usr/lib/libz.sl
/usr/lib/dld.sl: No such file or directory
I also got this:
awagshp 32 [/] #/sbin/init.d/openssh start
/usr/lib/dld.sl: Can't open shared library: /usr/lib/libz.sl
/usr/lib/dld.sl: No such file or directory
/sbin/init.d/openssh[69]: 4364 Abort(coredump)
EXIT CODE: 134
awagshp 33 [/] #
Again I can see this:
awagshp 33 [/] #cd /usr/lib
awagshp 34 [/usr/lib] #ls -l libz.sl
libz.sl not found
awagshp 35 [/usr/lib] #ls -l dld.sl
-r-xr-xr-x 1 bin bin 102400 Jun 17 1998 dld.sl
awagshp 36 [/usr/lib] #
I did not go further for keys stuff since /usr/lib/libz.sl is absent.
I am looking for more help.
Thanks a lot.
Charlie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2009 08:52 PM
04-22-2009 08:52 PM
Re: SSH for HP-UX 11.00
You might try a Google or Forum search for
keywords like, say:
hp-ux libz.sl
Something will probably lead you to a kit
which would provide this prerequisite.
You might look to see if you already have it
somewhere under /usr/local.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2009 08:52 PM
04-22-2009 08:52 PM
Re: SSH for HP-UX 11.00
You need to also install zlib-1.2.3.sl:
http://mirrors.develooper.com/hpux/libz-1.2.3-11.00-pa2.0.tbz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2009 09:39 PM
04-22-2009 09:39 PM
Re: SSH for HP-UX 11.00
I downloaded the tbz file as indicated and installed into the directories, libz-1.2.3.sl is the original copy after untarred, libz.sl is its copy.
See these:
awagshp 29 [/usr/lib] #!ls
ls -l libz*
-rwxrwxrwx 1 root sys 102400 Apr 23 14:37 libz-1.2.3.sl
-rwxrwxrwx 1 root sys 102400 Apr 23 14:31 libz.sl
awagshp 30 [/usr/lib] #cd /lib
awagshp 31 [/lib] #!ls
ls -l libz*
-rwxrwxrwx 1 root sys 102400 Apr 23 14:37 libz-1.2.3.sl
-rwxrwxrwx 1 root sys 102400 Apr 23 14:31 libz.sl
Then I got further errors, see these:
awagshp 33 [/lib] #cd /usr/local/etc
( no openssh directory under )
awagshp 34 [/usr/local/etc] #/usr/local/bin/ssh-keygen -t dsa -N "" -f ssh_host_dsa_key
/usr/lib/dld.sl: Bad system id for shared library: /usr/lib/libz.sl
/usr/lib/dld.sl: Exec format error
IOT trap (core dumped)
awagshp 35 [/usr/local/etc] #id
uid=0(root) gid=3(sys) groups=0(root),1(other),2(bin),4(adm),5(daemon),6(mail),7(lp),20(users)
awagshp 36 [/usr/local/etc] #/sbin/init.d/openssh start
/usr/lib/dld.sl: Bad system id for shared library: /usr/lib/libz.sl
/usr/lib/dld.sl: Exec format error
/sbin/init.d/openssh[69]: 4493 Abort(coredump)
EXIT CODE: 134
awagshp 37 [/usr/local/etc] #
The key error msg was "Bad system id for shared lib..."
My log in id was "root".
Please provide further help. It seemed we made a lot progress, after this is completed I will summarize here for sharing.
Thanks again.
Charlie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2009 10:21 PM
04-22-2009 10:21 PM
Re: SSH for HP-UX 11.00
kits. That way, I seldom see complaints like
"Executable file incompatible with hardware"
or "Exec format error".
http://zlib.net/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2009 10:29 PM
04-22-2009 10:29 PM
Re: SSH for HP-UX 11.00
>dld.sl: Exec format error
It looks like this is the previous issues, PA2.0 code on your old PA1.1 box.
Do: file /usr/lib/libz.sl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2009 10:35 PM
04-22-2009 10:35 PM
Re: SSH for HP-UX 11.00
>dld.sl: Exec format error
Oops, the URL even says pa2.0.
Did you see H.Merijn's comment:
BTW, that distro also includes a libz-1.2.3.sl (and a symlink to it) as I didn't have a PA-1.1 version handy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2009 10:38 PM
04-22-2009 10:38 PM
Re: SSH for HP-UX 11.00
See this:
awagshp 4 [/lib] #file /usr/lib/libz.sl
/usr/lib/libz.sl: PA-RISC2.0 shared library -not stripped
awagshp 5 [/lib] #
I do not know what it means. Please...
Regards. ->Charlie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2009 10:40 PM
04-22-2009 10:40 PM
Re: SSH for HP-UX 11.00
Luckily if you read back through Merijn's posts you will see thet he already included a PA1.1 copy of zlib in the distribution of ssh/ssl he provided previously (it's actually in the openssl product)
Repeat the "swlist -l file" commands on the openssl product and you should see you have a copy of libz.sl in /usr/local/lib
So just add /usr/local/lib to your SHLIB_PATH and try again (you should probably swremove the PA2.0 zlib you just installed as well)
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2009 02:39 AM
05-20-2009 02:39 AM
Re: SSH for HP-UX 11.00
# cd /usr/lib
# wget http://www.cmve.net/~mbrand/libz-1.2.3-11.00-pa11.sl
# ln -s libz-1.2.3-11.00-pa11.sl libz.sl
# cd /usr/local/lib
# ln -s /usr/lib/libz.sl .
AND PLEASE DO ASSIGN POINTS TO THE ANSWERS. (ALL ANSWERS)
Enjoy. Have FUN! H.Merijn [ just browsing through older posts ]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2009 04:32 PM
05-20-2009 04:32 PM
Re: SSH for HP-UX 11.00
Thanks a lot. I have been away for quite a while and was unable to access the internet.
I tried to get the lib from your latest indication, but I failed because this machine is not linked to the internet, and it does not have wget command.
Please provide another channel for me to download the much needed library. I will summarize here.
Thanks a lot.
Charlie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2009 06:40 PM
05-20-2009 06:40 PM
Re: SSH for HP-UX 11.00
> internet, [...]
Then how did you download all that other
stuff you said that you downloaded?
> [...] it does not have wget command.
Wget is available on the Internet, too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2009 07:15 PM
05-20-2009 07:15 PM
Re: SSH for HP-UX 11.00
I downloaded into my Windows Box, then FTP to the HP Unix box in the internal network. The HP Unix box was cut off from access to internet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2009 07:49 PM
05-20-2009 07:49 PM
Re: SSH for HP-UX 11.00
> to the HP Unix box [...]
Ok. So why can't you do that again?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2009 08:33 PM
05-20-2009 08:33 PM
Re: SSH for HP-UX 11.00
I did that by copying/pasting the full URL to my browser, but I got this:
"
De opgevraagde pagina bestaat niet op deze webserver !
Mail de link naar onderstaand adres ter correctie.
"
Is this French or anything? And English is even not my 1st language.
Thank you, please indicate again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2009 05:32 AM
05-21-2009 05:32 AM
Re: SSH for HP-UX 11.00
Looks like Dutch (".nl").
Try the e-mail link at the bottom of:
http://www.cmve.net/~mbrand/
?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2009 07:34 PM
05-21-2009 07:34 PM
Re: SSH for HP-UX 11.00
Thanks for so many replies, I still can not find the library, can you provide further help?
Thanks a lot.
Charlie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2009 10:57 PM
05-26-2009 10:57 PM
Re: SSH for HP-UX 11.00
I noted the name wrong (drop the -11.00 part, as pa11 is not bound to 11.00 or 10.20)
http://mirrors.develooper.com/hpux/libz-1.2.3-pa11.sl
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2009 05:18 PM
05-27-2009 05:18 PM
Re: SSH for HP-UX 11.00
I downloaded & link the new posted library, it seemed to be a big leap.
See this:
#/usr/local/bin/ssh-keygen -t dsa -N "" -f ssh_host_dsa_key
PRNG is not seeded.
WHat is wrong?
Thanks.
Charlie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2009 05:19 PM
05-27-2009 05:19 PM
Re: SSH for HP-UX 11.00
awagshp 24 [/usr/local/etc] #/sbin/init.d/openssh start
PRNG is not seeded
EXIT CODE: 255
awagshp 25 [/usr/local/etc] #
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2009 11:34 PM
09-09-2009 11:34 PM
Re: SSH for HP-UX 11.00
I got the random number generator and sshd running, but once I used my terminal program putty to try to connect to the host by SSH port, it seemed to me the host was brought down. Any connections ( such as telnet ) went down. The system seemed to reboot, I had to manually restart the sshd as indicated in this thread.
( When I tried SSH for the 1st time, it prompted the key cache etc. after that now more prompt mesage ).
Need more help.
Thanks a lot.
Charlie
- « Previous
-
- 1
- 2
- Next »