<?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 User account with OpenSSH in Server Management - Systems Insight Manager</title>
    <link>https://community.hpe.com/t5/server-management-systems/user-account-with-openssh/m-p/3538616#M11791</link>
    <description>I went through the SSH install document for HP SIM 4.2 SP2 and have a question regarding user accounts. &lt;BR /&gt; &lt;BR /&gt;Do I have to install open SSH on the CMS system and on the target system using the same user account  and passwordto be able to run DTF tools from the CMS to the target systems?&lt;BR /&gt; &lt;BR /&gt;Here is my observation:&lt;BR /&gt; &lt;BR /&gt;Scenario 1:&lt;BR /&gt;SSH is installed on the CMS using USER1 local account and PSWD1. On the CMS server &lt;EXECUTE-AS-USER&gt; for all the tools uses USER1. SSH is install on the target system using USER1 and PSWD1. &lt;BR /&gt; &lt;BR /&gt;Test 1:&lt;BR /&gt;ssh command works. mxagentconfig works. mxexec works from CMS to target system.&lt;BR /&gt; &lt;BR /&gt;Scenario 2:&lt;BR /&gt;SSH is installed on the CMS using USER1 local account and PSWD1. On the CMS server &lt;EXECUTE-AS-USER&gt; for all the tools uses USER1. SSH is install on the target system using USER2 and PSWD2. &lt;BR /&gt; &lt;BR /&gt;Test 2:&lt;BR /&gt;ssh command works. mxagentconfig works. mxexec fails from CMS to target system see printout below:&lt;BR /&gt;C:\Program Files\OpenSSH\bin&amp;gt;mxexec -t netstat -n appd51apc&lt;BR /&gt;Running tool netstat with job id 8252.&lt;BR /&gt;Task Name       :defRunNowTaskId_1115307814643_11&lt;BR /&gt;Job ID          :8252&lt;BR /&gt;Tool Name       :netstat&lt;BR /&gt;Job State       :Failed&lt;BR /&gt;User Name       :MGTP01SIM\hpsim&lt;BR /&gt;Execute As User :hpsim&lt;BR /&gt;Start Time      :Thursday, May 5, 2005 8:43:34 AM PDT&lt;BR /&gt;End Time        :Thursday, May 5, 2005 8:43:35 AM PDT&lt;BR /&gt;Elapsed Time    : 407 milliseconds&lt;BR /&gt;Node            :appd51apc.wcbbc.wcbmain.com&lt;BR /&gt;Status          :Failed&lt;BR /&gt;Exit Code       :0&lt;BR /&gt;STDOUT          :&lt;BR /&gt; &lt;NO output=""&gt;&lt;BR /&gt;EXCEPTION CLASS :&lt;BR /&gt;com.hp.mx.exceptions.MxFailedAuthenticationException&lt;BR /&gt;EXCEPTION       :&lt;BR /&gt;Authentication failed.&lt;BR /&gt; &lt;BR /&gt;C:\Program Files\OpenSSH\bin&amp;gt;&lt;BR /&gt;&lt;BR /&gt;From my testing it appears the &lt;EXECUTE-AS-USER&gt; in tools on the CMS has to be the same as the user you install openssh on the target systems. Is that correct?&lt;BR /&gt;&lt;/EXECUTE-AS-USER&gt;&lt;/NO&gt;&lt;/EXECUTE-AS-USER&gt;&lt;/EXECUTE-AS-USER&gt;</description>
    <pubDate>Thu, 05 May 2005 11:28:07 GMT</pubDate>
    <dc:creator>Anamarija Sustic</dc:creator>
    <dc:date>2005-05-05T11:28:07Z</dc:date>
    <item>
      <title>User account with OpenSSH</title>
      <link>https://community.hpe.com/t5/server-management-systems/user-account-with-openssh/m-p/3538616#M11791</link>
      <description>I went through the SSH install document for HP SIM 4.2 SP2 and have a question regarding user accounts. &lt;BR /&gt; &lt;BR /&gt;Do I have to install open SSH on the CMS system and on the target system using the same user account  and passwordto be able to run DTF tools from the CMS to the target systems?&lt;BR /&gt; &lt;BR /&gt;Here is my observation:&lt;BR /&gt; &lt;BR /&gt;Scenario 1:&lt;BR /&gt;SSH is installed on the CMS using USER1 local account and PSWD1. On the CMS server &lt;EXECUTE-AS-USER&gt; for all the tools uses USER1. SSH is install on the target system using USER1 and PSWD1. &lt;BR /&gt; &lt;BR /&gt;Test 1:&lt;BR /&gt;ssh command works. mxagentconfig works. mxexec works from CMS to target system.&lt;BR /&gt; &lt;BR /&gt;Scenario 2:&lt;BR /&gt;SSH is installed on the CMS using USER1 local account and PSWD1. On the CMS server &lt;EXECUTE-AS-USER&gt; for all the tools uses USER1. SSH is install on the target system using USER2 and PSWD2. &lt;BR /&gt; &lt;BR /&gt;Test 2:&lt;BR /&gt;ssh command works. mxagentconfig works. mxexec fails from CMS to target system see printout below:&lt;BR /&gt;C:\Program Files\OpenSSH\bin&amp;gt;mxexec -t netstat -n appd51apc&lt;BR /&gt;Running tool netstat with job id 8252.&lt;BR /&gt;Task Name       :defRunNowTaskId_1115307814643_11&lt;BR /&gt;Job ID          :8252&lt;BR /&gt;Tool Name       :netstat&lt;BR /&gt;Job State       :Failed&lt;BR /&gt;User Name       :MGTP01SIM\hpsim&lt;BR /&gt;Execute As User :hpsim&lt;BR /&gt;Start Time      :Thursday, May 5, 2005 8:43:34 AM PDT&lt;BR /&gt;End Time        :Thursday, May 5, 2005 8:43:35 AM PDT&lt;BR /&gt;Elapsed Time    : 407 milliseconds&lt;BR /&gt;Node            :appd51apc.wcbbc.wcbmain.com&lt;BR /&gt;Status          :Failed&lt;BR /&gt;Exit Code       :0&lt;BR /&gt;STDOUT          :&lt;BR /&gt; &lt;NO output=""&gt;&lt;BR /&gt;EXCEPTION CLASS :&lt;BR /&gt;com.hp.mx.exceptions.MxFailedAuthenticationException&lt;BR /&gt;EXCEPTION       :&lt;BR /&gt;Authentication failed.&lt;BR /&gt; &lt;BR /&gt;C:\Program Files\OpenSSH\bin&amp;gt;&lt;BR /&gt;&lt;BR /&gt;From my testing it appears the &lt;EXECUTE-AS-USER&gt; in tools on the CMS has to be the same as the user you install openssh on the target systems. Is that correct?&lt;BR /&gt;&lt;/EXECUTE-AS-USER&gt;&lt;/NO&gt;&lt;/EXECUTE-AS-USER&gt;&lt;/EXECUTE-AS-USER&gt;</description>
      <pubDate>Thu, 05 May 2005 11:28:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/user-account-with-openssh/m-p/3538616#M11791</guid>
      <dc:creator>Anamarija Sustic</dc:creator>
      <dc:date>2005-05-05T11:28:07Z</dc:date>
    </item>
  </channel>
</rss>

