<?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: PowerShell toolkit - Invoke-NcSSH private key file in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/PowerShell-toolkit-Invoke-NcSSH-private-key-file/m-p/146666#M26673</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;All my apologize if this question sounds stupid but... did you tried to press "y"&amp;nbsp; followed by enter ?&lt;BR /&gt;At this point, the cmdlet simply ask you if they key offered (by the remote host) should be trusted and added into the known_host file (locally).&lt;BR /&gt;&lt;BR /&gt;Bests Regards,&lt;/P&gt;</description>
    <pubDate>Mon, 18 Feb 2019 15:57:24 GMT</pubDate>
    <dc:creator>Yanic</dc:creator>
    <dc:date>2019-02-18T15:57:24Z</dc:date>
    <item>
      <title>PowerShell toolkit - Invoke-NcSSH private key file</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/PowerShell-toolkit-Invoke-NcSSH-private-key-file/m-p/146663#M26670</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We have an issue with the Invoke-NcSSH command.&lt;/P&gt;
&lt;P&gt;It was working very well for months and suddenly, last friday, the command failed and required to install putty.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After putty installation done, the command request now to add the remote key into Putty's cache :&lt;/P&gt;
&lt;PRE&gt;PS C:\Users\user&amp;gt; Invoke-ncssh -name $user -command $command -PrivateKeyFile "C:\keys\itsoper\wfa.key" -username $user
The server's host key is not cached in the registry. You
have no guarantee that the server is the computer you
think it is.
The server's xxx-sha2-nistp256 key fingerprint is:
xxx-sha2-nistp256 256 03:0d:3b:62:ae:6a:.........
If you trust this host, enter "y" to add the key to
PuTTY's cache and carry on connecting.
If you want to carry on connecting just once, without
adding the key to the cache, enter "n".
If you do not trust this host, press Return to abandon the
connection.
Store key in cache? (y/n)&lt;/PRE&gt;
&lt;P&gt;We didn't find how to accept / ignore / bypass this output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any idea ?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 12:49:32 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/PowerShell-toolkit-Invoke-NcSSH-private-key-file/m-p/146663#M26670</guid>
      <dc:creator>Gab</dc:creator>
      <dc:date>2025-06-04T12:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell toolkit - Invoke-NcSSH private key file</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/PowerShell-toolkit-Invoke-NcSSH-private-key-file/m-p/146666#M26673</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;All my apologize if this question sounds stupid but... did you tried to press "y"&amp;nbsp; followed by enter ?&lt;BR /&gt;At this point, the cmdlet simply ask you if they key offered (by the remote host) should be trusted and added into the known_host file (locally).&lt;BR /&gt;&lt;BR /&gt;Bests Regards,&lt;/P&gt;</description>
      <pubDate>Mon, 18 Feb 2019 15:57:24 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/PowerShell-toolkit-Invoke-NcSSH-private-key-file/m-p/146666#M26673</guid>
      <dc:creator>Yanic</dc:creator>
      <dc:date>2019-02-18T15:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell toolkit - Invoke-NcSSH private key file</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/PowerShell-toolkit-Invoke-NcSSH-private-key-file/m-p/146667#M26674</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you considered using "Invoke-NcSystemApi" (HTTPS) as an alternative to "Invoke-NcSsh"? (SSH)&lt;/P&gt;
&lt;P&gt;Here is an example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A title="https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/NetApp-PowerShell-Toolkit-4-5P1-released/td-p/138566/page/2" href="https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/NetApp-PowerShell-Toolkit-4-5P1-released/td-p/138566/page/2" target="_blank" rel="noopener"&gt;https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/NetApp-PowerShell-Toolkit-4-5P1-released/td-p/138566/page/2&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/Matt&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Feb 2019 22:40:16 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/PowerShell-toolkit-Invoke-NcSSH-private-key-file/m-p/146667#M26674</guid>
      <dc:creator>mbeattie</dc:creator>
      <dc:date>2019-02-18T22:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell toolkit - Invoke-NcSSH private key file</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/PowerShell-toolkit-Invoke-NcSSH-private-key-file/m-p/147332#M26802</link>
      <description>&lt;P&gt;have you tried adding this to end of your command&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-AcceptKey:$true&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2019 22:11:27 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/PowerShell-toolkit-Invoke-NcSSH-private-key-file/m-p/147332#M26802</guid>
      <dc:creator>jfc916</dc:creator>
      <dc:date>2019-03-20T22:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell toolkit - Invoke-NcSSH private key file</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/PowerShell-toolkit-Invoke-NcSSH-private-key-file/m-p/148565#M26953</link>
      <description>&lt;P&gt;Same issue today. Unable to simply reply "y", the keyboard is locked. Only a Ctrl+C allow to go back to the prompt ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I had a look in registry HKCU\Software\SimonTatham\PuTTY\SshHostKeys and entry exists for shortname as I was able to add it using Putty ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then I realized all the other Key are using IP addresses instead of shortname used with Connect-NcController ... &lt;span class="lia-unicode-emoji" title=":neutral_face:"&gt;😐&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have renamed the REG key and all is working fine&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That means, if this issue is occuring, a workaround can be to use Putty to connect the controller using the IP address instead of the name and accept the key ...&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2019 14:16:19 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/PowerShell-toolkit-Invoke-NcSSH-private-key-file/m-p/148565#M26953</guid>
      <dc:creator>POLICARD</dc:creator>
      <dc:date>2019-05-23T14:16:19Z</dc:date>
    </item>
  </channel>
</rss>

