HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Systems Insight Manager
- >
- ssh error on HPSIM server
Server Management - Systems Insight Manager
1833712
Members
2059
Online
110063
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
05-22-2006 04:44 AM
05-22-2006 04:44 AM
ssh error on HPSIM server
I am trying to use ssh from my SIM server to a Linux server. The error message I am getting is about an offending key in /cygdrive/h/.ssh/know_hosts:5. I can't find this file to fix the problem. I have removed the offending host using the normal tools within HPSIM. I can't seem to get this cleared up.
Yes the server was recently rebuilt. So the error is expected....
Yes the server was recently rebuilt. So the error is expected....
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2006 02:12 AM
05-23-2006 02:12 AM
Re: ssh error on HPSIM server
Remove the lines that have the SIM server's hostname in /etc/ssh/known_hosts and /cygdrive/h/.ssh/know_hosts and then rerun mxagentconfig on the SIM server like this: "mxagentconfig -a -n -u root -p " where is your target computer.
Hope that helps, my Linux is getting rusty lol.
Hope that helps, my Linux is getting rusty lol.
"Did you get that memo?"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2006 02:25 AM
05-23-2006 02:25 AM
Re: ssh error on HPSIM server
Ooops I guess I sould have said I am running HPSIM on Windows 2003. As far as I can see there is no directory with the name cygdrive on the system. The linux server I am trying to connect to does not have this file system either.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2006 03:33 AM
05-23-2006 03:33 AM
Re: ssh error on HPSIM server
I think you have it backwards. The "offending key" is located on the Linux client system. When you login from a machine via SSH it excahnges keys to verify host identity. Since you rebuilt the SIM server, the Linux client(s) will still have the old key from the SIM server located in their "known_hosts" files unless you remove them manually. Failure to do so means that the Linux host thinks the SIM server is being impersonated and prevents an SSH session.
So... login to the Linux machines and remove all instances of the SIM server's hostname or IP address from all the "known_hosts" files on the system (you will have to search for hidden files as well since they can be located in ".ssh" directories which are hidden. This can be done very quickly using vi if are familiar with it.
Next, run mxagentconfig on the SIM server so that you can add the new SSH key to the Linux clients.
IIRC, the path "/cygdrive/h/.ssh/know_hosts:5" means that the key is located in a user home directory and the offending key is on line 5. And the filename is usually "known_hosts" with an "n". ;)
So... login to the Linux machines and remove all instances of the SIM server's hostname or IP address from all the "known_hosts" files on the system (you will have to search for hidden files as well since they can be located in ".ssh" directories which are hidden. This can be done very quickly using vi if are familiar with it.
Next, run mxagentconfig on the SIM server so that you can add the new SSH key to the Linux clients.
IIRC, the path "/cygdrive/h/.ssh/know_hosts:5" means that the key is located in a user home directory and the offending key is on line 5. And the filename is usually "known_hosts" with an "n". ;)
"Did you get that memo?"
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