- 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
Discussions
Discussions
Forums
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
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-21-2009 05:11 AM
тАО04-21-2009 05:11 AM
Re: SSH for HP-UX 11.00
> make SSH work.
Doesn't this stuff come with documentation?
Run the program (sshd)? I know nothing, but
I'd assume that the installation procedure
left a control script in /sbin/init.d (or
somewhere) with a link to it in /sbin/rc?.d
(or somewhere), and so it should get started
when you boot the system, or when you run the
control script manually:
/sbin/init.d/<script_name> start
There are probably a bunch of configuration
files which may need some adjustment, too,
and some key files to create.
http://www.openssh.com/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2009 05:18 AM
тАО04-21-2009 05:18 AM
Re: SSH for HP-UX 11.00
There is another option. Later versions of 11.00 Core OS and application CD's might have a fully working version of ssh in depot format for 11.00.
If you have a software contract on another system, HP support might be convinced to open up access to their FTP archives.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2009 06:22 AM
тАО04-21-2009 06:22 AM
Re: SSH for HP-UX 11.00
If you don't already have a random number software installed, you may need to add something like PRNGD as well...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2009 03:54 PM
тАО04-21-2009 03:54 PM
Re: SSH for HP-UX 11.00
After the installation, I checked a few directories referenced in this thread & found no names as "*ssh*", used "ps -ef|grep ssh" gave me nothing else.
Can I have some clear instruction on where the ssh server was installed & how to make it work?
Thanks a lot.
Charlie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2009 02:40 AM
тАО04-22-2009 02:40 AM
Re: SSH for HP-UX 11.00
> directories referenced in this thread &
> found no names as "*ssh*", used
> "ps -ef|grep ssh" gave me nothing else.
To us non-psychics, "a few directories" is
not very informative. Your "Connection
Refused" complaint already told us that the
sshd was not running, so the "ps" result is
not amazing.
Knowing nothing, I'd expect that a home-made
OpenXXX kit would get put into
/opt/
How hard have you looked? No one said
anything during "the installation"? There's
no documentation?
On an 11.11 system, HP's things seem to go
into /usr/sbin, /usr/bin, /opt/ssh/etc, and
so on, and there are "man" pages for the
programs.
- 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.