HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- installation procedure ssh
Operating System - HP-UX
1833163
Members
3611
Online
110051
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-10-2002 08:05 AM
04-10-2002 08:05 AM
installation procedure ssh
I downloaded openssh from
http://hpux.connect.org.uk/hppd/hpux/Networking/Admin/openssh-3.1p1/
The file downloaded
openssh-3.1p1-sd-11.00.depot.gz
openssl-0.9.6-sd-11.00.depot.gz
zlib-1.1.4-sd-11.00.depot.gz
and gunziped the files and when I run swinstall and give the full path of the file location and it say
Cannot establish a lock on this target because of an external error (for example, the lock file could not be created).
Please if somebody could walk me thur the installation procedure..
I am installing it on 11.0
http://hpux.connect.org.uk/hppd/hpux/Networking/Admin/openssh-3.1p1/
The file downloaded
openssh-3.1p1-sd-11.00.depot.gz
openssl-0.9.6-sd-11.00.depot.gz
zlib-1.1.4-sd-11.00.depot.gz
and gunziped the files and when I run swinstall and give the full path of the file location and it say
Cannot establish a lock on this target because of an external error (for example, the lock file could not be created).
Please if somebody could walk me thur the installation procedure..
I am installing it on 11.0
New to HP
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2002 08:31 AM
04-10-2002 08:31 AM
Re: installation procedure ssh
I got it installed...
Thanks but is there any config to be done ??
Thanks but is there any config to be done ??
New to HP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2002 02:52 PM
04-10-2002 02:52 PM
Re: installation procedure ssh
Your sshd may not start as your system will be missing host_key. If it gives out error, then you need to generate it.
Use the following command..
#/wherever_ssh/bin/ssh-keygen -t rsa1 -f /wherever_ssh/etc/ssh_host_key -N ""
Then start sshd.
If you haven't done already, you may have to read some key management stuff that is available by exploring www.openssh.org
-Sri
Use the following command..
#/wherever_ssh/bin/ssh-keygen -t rsa1 -f /wherever_ssh/etc/ssh_host_key -N ""
Then start sshd.
If you haven't done already, you may have to read some key management stuff that is available by exploring www.openssh.org
-Sri
You may be disappointed if you fail, but you are doomed if you don't try
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2002 02:58 PM
04-10-2002 02:58 PM
Re: installation procedure ssh
Hi,
Hope this helps:
How to Install and Configure Openssh (simple method)
Pre-requisite: You must install a product called ???zlib??? prior to attempting to install ???openssh??? or the installation will fail.
Run the ???swinstall??? interactive program to install the ???zlib??? filesets.
# cp /opt/zlib/include/zlib.h /usr/include
# cp /opt/zlib/include/zconf.h /usr/include
# cp /opt/zlib/lib/libz.a /usr/lib
Run the ???swinstall??? interactive program to install ???openssh???.
Once the two products have been installed a small amount of configuration will still be necessary. As ???root??? run the following commands.
# /opt/openssh2/bin/ssh-keygen ???t rsa1 ???f /opt/openssh2/etc/ssh_host_key ???N ??????
# /opt/openssh2/bin/ssh-keygen ???t rsa ???f /opt/openssh2/etc/ssh_host_rsa_key ???N ??????
# /opt/openssh2/bin/ssh-keygen ???t dsa ???f /opt/openssh2/etc/ssh_host_dsa_key ???N ??????
Start the background daemon on the local host to make sure that the keys have been generated successfully.
# /opt/openssh2/sbin/sshd &
Set up the automatic startup of ???sshd???
You can get a copy of these files from the ssh source code and create the links.
# ln -s /sbin/init.d/sshd.rc /sbin/rc2.d/S110sshd
# ln -s /sbin/init.d/sshd.rc /sbin/rc1.d/K890sshd
As your own user id generate a key for ???ssh??? from you own home directory:
e.g.
$ cd /home/fred
$ /opt/openssh2/bin/ssh-keygen
Enter file and press return (/home/fred/.ssh/identity)
Enter Passphrase (not required, just press return)
Make a directory on the server at the other end to contain the authority key. This file is the same as just generated as your own user id except that is must be called /home/fred/.ssh/authorized_keys
Before this key will work, the destination server also needs to have the ???zlib??? and ???openssh??? filesets installed and the ???sshd??? daemon running as per the above procedures.
Hope this helps:
How to Install and Configure Openssh (simple method)
Pre-requisite: You must install a product called ???zlib??? prior to attempting to install ???openssh??? or the installation will fail.
Run the ???swinstall??? interactive program to install the ???zlib??? filesets.
# cp /opt/zlib/include/zlib.h /usr/include
# cp /opt/zlib/include/zconf.h /usr/include
# cp /opt/zlib/lib/libz.a /usr/lib
Run the ???swinstall??? interactive program to install ???openssh???.
Once the two products have been installed a small amount of configuration will still be necessary. As ???root??? run the following commands.
# /opt/openssh2/bin/ssh-keygen ???t rsa1 ???f /opt/openssh2/etc/ssh_host_key ???N ??????
# /opt/openssh2/bin/ssh-keygen ???t rsa ???f /opt/openssh2/etc/ssh_host_rsa_key ???N ??????
# /opt/openssh2/bin/ssh-keygen ???t dsa ???f /opt/openssh2/etc/ssh_host_dsa_key ???N ??????
Start the background daemon on the local host to make sure that the keys have been generated successfully.
# /opt/openssh2/sbin/sshd &
Set up the automatic startup of ???sshd???
You can get a copy of these files from the ssh source code and create the links.
# ln -s /sbin/init.d/sshd.rc /sbin/rc2.d/S110sshd
# ln -s /sbin/init.d/sshd.rc /sbin/rc1.d/K890sshd
As your own user id generate a key for ???ssh??? from you own home directory:
e.g.
$ cd /home/fred
$ /opt/openssh2/bin/ssh-keygen
Enter file and press return (/home/fred/.ssh/identity)
Enter Passphrase (not required, just press return)
Make a directory on the server at the other end to contain the authority key. This file is the same as just generated as your own user id except that is must be called /home/fred/.ssh/authorized_keys
Before this key will work, the destination server also needs to have the ???zlib??? and ???openssh??? filesets installed and the ???sshd??? daemon running as per the above procedures.
Anyone for a Mutiny ?
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP