- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Systems Insight Manager
- >
- Configure or Repair Agents Task with ssh error
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
тАО02-18-2010 08:50 AM
тАО02-18-2010 08:50 AM
I tried to run a Configure or Repair Agents to an ESX 3.5 host, because I wan't to change my snmp setup. I start the task with the new snmp comunity only, all other options were unchecked. The task failed withe following message:
Error while establishing SSH connection. Check username/password. Also ensure that SSH password authentication is enabled on the target.
That host was fully configured with insight agents V8.3.0 and fully visible in HP-SIM 5.3-1. I'm able to logon via putty or ssh in a cmd-window. I have modifierd the following parameters in the sshd_config file:
PermitRootLogin yes
PasswordAuthentication yes
Here you can see the output of an identify system of these host:
Starting identification process...
Checking for known running web servers.
Checking for System Management Home Page and other HP web agents.
Received a response from the system management homepage on the SSL port, this system supports SMH.
Checking for WBEM support on system.
This system has WBEM protocol support
This system does not have any SMI-S CIMOM installed
Running WBEM rules based identification.
Cannot get ComputerSystem WBEM/WMI data from the system
Running VM Identification.
The system is not a VM Host, or WBEM credentials may not be specified, skipping VM Identification
Running WS-Man identification.
The system did not respond to WS-Management, verify credentials.
Checking for SNMP support on system.
The system responded to a SNMP request, it supports SNMP.
Running SNMP base Cluster identification using common cluster MIB.
This was not a system with the common cluster MIBs supported.
Running HP ProLiant management agent identification
System has the SNMP ProLiant server (foundation) agents installed, adding system type.
Running HP NetServer identification.
System supports the NetServer SNMP agent, adding system type
Running HP-UX SNMP identification.
System does not have the HPUX SNMP agents installed.
Running SNMP System Type Manager identification.
No matching SNMP System Type Manager rule was found.
Checking for DMI protocol support.
The Windows CMS cannot communicate with HP-UX or other DMI, skipping.
Running DMI System Type Manager identification.
The system does not have Windows DMI support.
Running HP-UX DMI identification.
The system does not have HP-UX DMI support.
Running HP/Compaq Desktop identification.
The system does not have Windows DMI support.
Running HP DMI Desktop identification.
The system does not have HP DMI Desktop support.
Running Generic DMI identification.
The system does not have Generic DMI support.
Running SSH Protocol identification.
The system supports SSH protocol
Running SSH Identification.
This system passed the ssh authentication; it has a valid ssh credential
OS Name is identified by other identifier; continue to run other commands
Running Storage identification.
Storage identification completed.
Running HP Service Guard Identification.
The system is not part of HP Service Guard cluster
Running SNMP Subtypes identification
No additional subtypes found from SNMP
Create bare-metal device nodes if OA is discovered with "Automatic Device discovery" option enabled.
Create bare-metal server node if ILO is discovered with "Automatic Server discovery" option enabled.
Checking if this system is supported by Insight Power Manager.
Running VM identification.
VMM is installed, but the system is not a VM Host or may not be configured in VMM
Building system relationships.
Running limited data collection for common attribute.
The SSH key-based access authentication is not configured on this system. To configure SSH access authentication, go to Configure -> Configure or Repair Agents.
SMH trust status is true.
Running node communication diagnosis
System identification done with this system.
As you can see, wbem is ok, snmp is ok and ssh configuration is ok as well. If I start an config and repair on that system the task ends very quickly in "failed" and I get these messages:
stdout:
Configuring SSH authentication (START)...
Configure SSH for host based authentication (DONE)................. [SUCCESS]
Re-identifying system to get update information ...
stderr:
Error while establishing SSH connection. Check username/password. Also ensure that SSH password authentication is enabled on the target.
I have tried to run the task with root credentials as well with a unpriviledged user with privledge elevation, but every time the same fault.
Any idea to fix that problem?
Bernd
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2010 12:21 PM
тАО02-19-2010 12:21 PM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2010 01:29 PM
тАО02-19-2010 01:29 PM
Re: Configure or Repair Agents Task with ssh error
Enable root login and permitPassword authentication. Make sure you re-start SSH after doing that.
Once SSH is restarted on the target system, try Configure Or repair Agents to configure SNMP again with the correct root credentials.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2010 02:12 AM
тАО02-22-2010 02:12 AM
Re: Configure or Repair Agents Task with ssh error
From SIM 5.2-2:
Configuration of agents started, waiting for it to be completed.
Configure Agents and Providers (START) ...
Configuring SSH authentication (START)...
Configure SSH for user based authentication (DONE)................. [SUCCESS]
Re-identifying system to get update information (START) ...
Re-Identification of system (DONE).............................. [SUCCESS].
From SIM 5.3-1:
Configuring SSH authentication (START)...
Configure SSH for user based authentication (DONE)................. [SUCCESS]
Re-identifying system to get update information ...
As you can see, both tasks ran without errors. Then I have configured the same (saved) tasks with enabled check boxes for snmp community and trap destination only. Here is the output:
From SIM 5.2-2:
Stdout:
Configuration of agents started, waiting for it to be completed.
Configure Agents and Providers (START) ...
Stderr:
Error while establishing SSH connection. Check username/password.
From SIM 5.3-1:
Stdout:
Nothing, empty page!
Stderr:
Error while establishing SSH connection. Check username/password. Also ensure that SSH password authentication is enabled on the target.
Both tasks ran in status "failed" with complaining bad username/password. The same task ran without errors several minutes ago! For testing, I modified the task with a wrong password and start it again with ssh configuration check box enabled for "User based authentication for user". The expected error occurs:
Configuration of agents started, waiting for it to be completed.
Configure Agents and Providers (START) ...
Configuring SSH authentication (START)...
Configure SSH for user based authentication (DONE).................. [FAILED]
Configuration failed to complete due to the following exception:
SSH Password authentication failed for target system: ml350-esx.deu.hp.com.Check password and try again.
Now I ran the same task with the snmp checkboxed enabled only, here is the output:
Stdout:
Configuration of agents started, waiting for it to be completed.
Configure Agents and Providers (START) ...
Stderr:
Error while establishing SSH connection. Check username/password.
The task ran into failed, with the same output like my first run with the right username/password configuration. What happens here?
Best regards
Bernd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2010 08:56 AM
тАО02-22-2010 08:56 AM
Re: Configure or Repair Agents Task with ssh error
What happens if you put the right credentials back in and just run just the SSH config like you did first. Does that still work?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2010 10:06 AM
тАО02-22-2010 10:06 AM
Re: Configure or Repair Agents Task with ssh error
In the Configure or Repair Agents headline I saw the description "Repair Agent Settings for Windows, HP-UX and Linux servers". Is VMware ESX not supported, even it is based on a Linux kernel?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2010 12:15 PM
тАО02-22-2010 12:15 PM
Re: Configure or Repair Agents Task with ssh error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2010 09:39 AM
тАО02-23-2010 09:39 AM