- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ssh key with different ssh versions.
Operating System - HP-UX
1752565
Members
5684
Online
108788
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
Discussions
Discussions
Forums
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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
тАО10-23-2008 06:05 PM
тАО10-23-2008 06:05 PM
Hi people ... I'm trying to exchange ssh key to avoid password request.
source server is an hpux 11.00, ssh version is
ssh: SSH Secure Shell 3.2.3 on hppa1.1-hp-hpux11.00
target server is an aix 5.2, ssh version is
OpenSSH_4.7p1, OpenSSL 0.9.8f 11 Oct 2007
===
in source server i did generate ssh key doing "ssh-keygen -t rsa" and its stored in "Public key saved to /usr/app/autosys/.ssh2/id_rsa_2048_c.pub"
"cat ~/.ssh2/identification
IdKey id_rsa_2048_b"
What I need to know is how do i append that key to the target server in "authorized_key" file.
Thx all for the time and help!!!
source server is an hpux 11.00, ssh version is
ssh: SSH Secure Shell 3.2.3 on hppa1.1-hp-hpux11.00
target server is an aix 5.2, ssh version is
OpenSSH_4.7p1, OpenSSL 0.9.8f 11 Oct 2007
===
in source server i did generate ssh key doing "ssh-keygen -t rsa" and its stored in "Public key saved to /usr/app/autosys/.ssh2/id_rsa_2048_c.pub"
"cat ~/.ssh2/identification
IdKey id_rsa_2048_b"
What I need to know is how do i append that key to the target server in "authorized_key" file.
Thx all for the time and help!!!
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-23-2008 06:34 PM
тАО10-23-2008 06:34 PM
Re: ssh key with different ssh versions.
Just cat it to the end of your file:
cat identification >> ~/.ssh2/authorized_keys
cat identification >> ~/.ssh2/authorized_keys
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-23-2008 08:34 PM
тАО10-23-2008 08:34 PM
Solution
Your source server is running a commercial SSH product from ssh.com. It uses a public key storage format that is different from OpenSSH key format, but the key itself is compatible.
Copy the id_rsa_2048_c.pub file to the target server, then run:
ssh-keygen -i -f id_rsa_2048_c.pub >>~/.ssh/authorized_keys
This (-i is for import) will convert the commercial SSH public key to the proper format for OpenSSH.
The OpenSSH authorized_keys file requires that the keys are in "one key per line" format, while the commercial SSH stores the public key in a multi-line format.
The OpenSSH ssh-keygen tool has both import and export options, so it can convert the keys in both directions. The ssh-keygen tool of the commercial SSH (version 3.2.*) can only import OpenSSH keys to ssh.com format.
MK
Copy the id_rsa_2048_c.pub file to the target server, then run:
ssh-keygen -i -f id_rsa_2048_c.pub >>~/.ssh/authorized_keys
This (-i is for import) will convert the commercial SSH public key to the proper format for OpenSSH.
The OpenSSH authorized_keys file requires that the keys are in "one key per line" format, while the commercial SSH stores the public key in a multi-line format.
The OpenSSH ssh-keygen tool has both import and export options, so it can convert the keys in both directions. The ssh-keygen tool of the commercial SSH (version 3.2.*) can only import OpenSSH keys to ssh.com format.
MK
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2010 02:41 PM
тАО05-05-2010 02:41 PM
Re: ssh key with different ssh versions.
Thanks 4 the help guys, points assigned.
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP