<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SSH error using cpqlocfg from SIM in Server Management - Systems Insight Manager</title>
    <link>https://community.hpe.com/t5/server-management-systems/ssh-error-using-cpqlocfg-from-sim/m-p/3824008#M21452</link>
    <description>Well when I have mass-configured ILOs in the past, I just do it from the command-line using a single batch file to lauch the "cpqlocfg.exe" commands with its associated arguments for each server.  Using SIM to do this just seems like adding complexity unnecessarily IMO.&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;&lt;BR /&gt;@echo off&lt;BR /&gt;cpqlocfg.exe -s host1 -l host1.txt -f UID_off.xml&lt;BR /&gt;cpqlocfg.exe -s host2 -l host2.txt -f UID_off.xml&lt;BR /&gt;cpqlocfg.exe -s host3 -l host3.txt -f UID_off.xml&lt;BR /&gt;&lt;BR /&gt;etc, etc...&lt;BR /&gt;&lt;BR /&gt;The ILO login username and password is located in the XML config file.  The batch files, xml files, and cpqlocfg must all be in the same working directory.  &lt;BR /&gt;&lt;BR /&gt;I know that's not an elegant method, but it's fast and effective, esp for adding tons of adv pack license keys.</description>
    <pubDate>Sun, 16 Jul 2006 17:16:36 GMT</pubDate>
    <dc:creator>Matthew J Warrick</dc:creator>
    <dc:date>2006-07-16T17:16:36Z</dc:date>
    <item>
      <title>SSH error using cpqlocfg from SIM</title>
      <link>https://community.hpe.com/t5/server-management-systems/ssh-error-using-cpqlocfg-from-sim/m-p/3824007#M21451</link>
      <description>I'm trying to configure a few hundred iLOs v1.84 using the cpqlocfg utility from SIM v5 on Server 2003.  However I'm getting an error when I try to execute:&lt;BR /&gt;&lt;BR /&gt;"Ssh Operation failed for node:&lt;FQDN of="" sim="" server=""&gt;. SshAuthentication Failed."&lt;BR /&gt;&lt;BR /&gt;Here's what I know and have done so far.&lt;BR /&gt;The Custom Command I've set up in SIM to use cpqlocfg has this set as the Command:&lt;BR /&gt;d:\ilo\cpqlocfg\cpqlocfg.exe&lt;BR /&gt;Where that's the path to the command on the machine I'm using when I connect to the SIM website on another machine.&lt;BR /&gt;&lt;BR /&gt;In the Parameters field I've entered:&lt;BR /&gt;-s %n -l %f.txt -f cert_request.txt&lt;BR /&gt;&lt;BR /&gt;From what I'm reading, I need to copy the SIM server's SSH key over to any iLO I try to communicate with using a Custom Command.  Is that correct?  I can do this by logging into the desktop of my server running SIM and executing at the CLI:&lt;BR /&gt;mxagentconfig -n &lt;HOSTNAME&gt; - u &lt;USERNAME&gt; -p &lt;PASSWORD&gt;&lt;BR /&gt;&lt;BR /&gt;For the username and password in this command, I must use a username and password which can be used to log into the iLO, correct?&lt;BR /&gt;&lt;BR /&gt;I opened the .dtfSshKey.pub file on my SIM server and inside I see:&lt;BR /&gt;ssh-dss &lt;LONG character="" sting=""&gt; &lt;USERNAME&gt;&lt;BR /&gt;&lt;BR /&gt;The username is the MS AD username of the admin which installed SIM on this server.  Does this username in the key file have to match the username I use to log into the iLO or does it not matter?&lt;BR /&gt;&lt;BR /&gt;If they must match, can I just change the username in the file to match, or do I have to regenerate a new key somehow?&lt;BR /&gt;&lt;BR /&gt;Also, when I log into the SIM webpage, do I have to log in as that same username, or can it be any user configured with priviledges to execute the Custom Command?&lt;BR /&gt;&lt;BR /&gt;And finally, when I execute the Custom Command, so far I'm just selecting one target iLO.  But when the error displays for the Task Results, why is it saying the "operation failed for node:&lt;MY sim="" server=""&gt;"?  I guess I'm expecting it would say operation failed for node:&lt;THE ilo="" i=""&gt; and not list the name of the server running SIM.&lt;BR /&gt;&lt;BR /&gt;Any help is greatly appreciated.  I've been reading doc after doc and hacking away at this for days.&lt;/THE&gt;&lt;/MY&gt;&lt;/USERNAME&gt;&lt;/LONG&gt;&lt;/PASSWORD&gt;&lt;/USERNAME&gt;&lt;/HOSTNAME&gt;&lt;/FQDN&gt;</description>
      <pubDate>Fri, 14 Jul 2006 15:04:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/ssh-error-using-cpqlocfg-from-sim/m-p/3824007#M21451</guid>
      <dc:creator>David Liverpool</dc:creator>
      <dc:date>2006-07-14T15:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: SSH error using cpqlocfg from SIM</title>
      <link>https://community.hpe.com/t5/server-management-systems/ssh-error-using-cpqlocfg-from-sim/m-p/3824008#M21452</link>
      <description>Well when I have mass-configured ILOs in the past, I just do it from the command-line using a single batch file to lauch the "cpqlocfg.exe" commands with its associated arguments for each server.  Using SIM to do this just seems like adding complexity unnecessarily IMO.&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;&lt;BR /&gt;@echo off&lt;BR /&gt;cpqlocfg.exe -s host1 -l host1.txt -f UID_off.xml&lt;BR /&gt;cpqlocfg.exe -s host2 -l host2.txt -f UID_off.xml&lt;BR /&gt;cpqlocfg.exe -s host3 -l host3.txt -f UID_off.xml&lt;BR /&gt;&lt;BR /&gt;etc, etc...&lt;BR /&gt;&lt;BR /&gt;The ILO login username and password is located in the XML config file.  The batch files, xml files, and cpqlocfg must all be in the same working directory.  &lt;BR /&gt;&lt;BR /&gt;I know that's not an elegant method, but it's fast and effective, esp for adding tons of adv pack license keys.</description>
      <pubDate>Sun, 16 Jul 2006 17:16:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/ssh-error-using-cpqlocfg-from-sim/m-p/3824008#M21452</guid>
      <dc:creator>Matthew J Warrick</dc:creator>
      <dc:date>2006-07-16T17:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: SSH error using cpqlocfg from SIM</title>
      <link>https://community.hpe.com/t5/server-management-systems/ssh-error-using-cpqlocfg-from-sim/m-p/3824009#M21453</link>
      <description>hi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;create a batch file with the follwing&lt;BR /&gt;&lt;BR /&gt;C:\scripts\Cpqlocfg\cpqlocfg -s %DEVICENAME% -l C:\scripts\Cpqlocfg\logs\adduser\%DEVICENAME%log.txt -f C:\scripts\Cpqlocfg\add_user.xml&lt;BR /&gt;&lt;BR /&gt;(above all in one line in the batch file)&lt;BR /&gt;changing the add_user.xml file to which xml file you want to use.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;make sure in the xml file that you use the correct username and password for the ilo's.&lt;BR /&gt;&lt;BR /&gt;create a custom command and point to the batch file.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;the cpqlocfg files and the xml files should be on the SIM server.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;either use a clean SIM 5 ( with no service pack) install or add SP5 to SIM5 and this should work. I had problems updating ilo's with other Service Packs.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Highlight all the ILO's in SIM and choose the custom command.( create a group that automatically find all the ILOs and this is easier.&lt;BR /&gt;&lt;BR /&gt;I have just updated all the firmware on my ILO's using this method and it worked perfectly once SP5 was install.&lt;BR /&gt;&lt;BR /&gt;i have not done anything with SSH and the ILO's.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;steven&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Jul 2006 04:27:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/ssh-error-using-cpqlocfg-from-sim/m-p/3824009#M21453</guid>
      <dc:creator>Steven Baillie</dc:creator>
      <dc:date>2006-07-17T04:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: SSH error using cpqlocfg from SIM</title>
      <link>https://community.hpe.com/t5/server-management-systems/ssh-error-using-cpqlocfg-from-sim/m-p/3824010#M21454</link>
      <description>I've had the same problem and found that I get this error if the User ID that I am using is not an Administrator on the SIM server.  If I run the same job with a user ID that is an Administrator on the SIM server than I do not get the error and the job runs.</description>
      <pubDate>Fri, 18 Aug 2006 13:26:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/ssh-error-using-cpqlocfg-from-sim/m-p/3824010#M21454</guid>
      <dc:creator>Larry Shaw</dc:creator>
      <dc:date>2006-08-18T13:26:21Z</dc:date>
    </item>
  </channel>
</rss>

