- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: SSH self authentication not happening on NNM s...
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
02-23-2011 05:17 AM
02-23-2011 05:17 AM
I have done the key exchange across NNM & PI servers. ssh is happening from NNM to PI server without password.
But in NNM server self authentication of ssh is not happening.
I have followed the following steps for ssh key exchange as root:
1.ssh-keygen -t rsa
2.concatinated authorized_keys file with the key generated in id_rsa.pub
But when I do ssh username@
Please help me in this...
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2011 09:04 AM
02-23-2011 09:04 AM
Re: SSH self authentication not happening on NNM server
Apart from this make sure that the users home directory and .ssh dir permission.
Can you post ssh -v user@IP output.
also check syslog.log for additional info.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2011 02:01 PM
02-23-2011 02:01 PM
Re: SSH self authentication not happening on NNM server
you wish to ssh from the localhost to the localhost ?
if so,
on local host you need to put the same authorized_keys file in /.ssh/
when all else fails check /var/adm/syslog/syslog.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2011 04:42 PM
02-23-2011 04:42 PM
Re: SSH self authentication not happening on NNM server
Add username at the end of the key in rsa.pib file
e.g
.....(truncated)..j5XUpmgcr2cyz/gQ== user_name@host_name
Rgds,
INH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2011 09:19 PM
02-23-2011 09:19 PM
Re: SSH self authentication not happening on NNM server
please find the attached output of "ssh -v user@
Should I add the generated key in any file other than authorized_keys also?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2011 09:27 PM
02-23-2011 09:27 PM
Re: SSH self authentication not happening on NNM server
1. Log in to the relevant unix server using the userid that the other system will log in with user name
2. Create a sub directory under the useridâ s home directory called .ssh (in this case it would be /home/user_name/.ssh)
3. Ensure that the following permissions are applied to this directory:
drwxr-xr-x .ssh
4. Change to that directory
5. Run the unix command â ssh-keygenâ . Press [ENTER] to all questions promoted by this command
6. When completed there should be two files in the directory, â id_rsaâ and â id_rsa.pubâ . The â id_rsa.pubâ file should be sent to the other systems team to generate their public/private key pair.
7. Ensure that the following permissions are applied to these files:
-rw------- id_rsa
-rw-r--r-- id_rsa.pub
8. Create a new file in the .ssh directory called â authorized_keysâ and insert the public key provided by the target system wishing to sftp to this server. The key must always start with the text â ssh-rsaâ and will end with â ==â . Make sure that the key provided is pasted exactly as provided and that it is on a single line within this file. Each separate key will be on a new line but will have the â ssh-rsaâ at the start and â ==â at the end. There may be text after the â ==â however this is just comment text.
9. Ensure that the following permissions are applied to this file:
-rw-r--r-- authorized_keys
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2011 09:29 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2011 10:52 PM
02-23-2011 10:52 PM
Re: SSH self authentication not happening on NNM server
your reply solved my problem... permissions of authorized_keys file was not proper.
Thank you!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2011 10:55 PM
02-23-2011 10:55 PM