The transition to NetApp MS Azure AD B2C is complete. If you missed the pre-registration, you will be invited to reigister at next log in.
Please note that access to your NetApp data may take up to 1 hour.
To learn more, read the FAQ and watch the video.
Need assistance? Complete this form and select “Registration Issue” as the Feedback Category.

Microsoft Virtualization Discussions

powershell tolls 9.8 , invoke-ncssh is not working with ontap 9.3 or above

Yair

Hello ,

 

The error is  "invoke-ncssh : the system cannot find file specified”

powershell tolls 9.8 , invoke-ncssh is not working with ontap 9.3 or above

 

need your help please

1 ACCEPTED SOLUTION

parisi

Works for me on ONTAP 9.8:

 

PS C:\> Invoke-NcSsh -Name x.x.x.x -Command version
Keyboard-interactive authentication prompts from server:
End of keyboard-interactive prompts from server


NcController : x.x.x.x
Value :

Last login time: 4/5/2021 09:51:56

NetApp Release 9.8: Wed Dec 09 01:07:39 UTC 2020

 

Maybe try removing/unistalling the module and reinstalling?

 

Alternately, you could look into posh-ssh:

 

https://www.powershellmagazine.com/2014/07/03/posh-ssh-open-source-ssh-powershell-module/

 

 

View solution in original post

3 REPLIES 3

Jim_Robertson

A little late here, but in my experience, I've had to follow these steps to get Invoke-NcSSH to work  (I got this  from another community thread that I don't have the link to at the moment):

Make sure you are running PSTK 4.5P1 or greater

Make sure you are using Putty 0.70 or greater

Connect to any target servers using Putty so that the SSH key is added to the hosts file
 

In Regedit:
\HKEY_LOCAL_MACHINE\SOFTWARE\SimonTatham (Right click, permissions)

     All application packages: Full Control

     Users (of the local machine your on): Full Control

 

Open a new PowerShell window.

parisi

Works for me on ONTAP 9.8:

 

PS C:\> Invoke-NcSsh -Name x.x.x.x -Command version
Keyboard-interactive authentication prompts from server:
End of keyboard-interactive prompts from server


NcController : x.x.x.x
Value :

Last login time: 4/5/2021 09:51:56

NetApp Release 9.8: Wed Dec 09 01:07:39 UTC 2020

 

Maybe try removing/unistalling the module and reinstalling?

 

Alternately, you could look into posh-ssh:

 

https://www.powershellmagazine.com/2014/07/03/posh-ssh-open-source-ssh-powershell-module/

 

 

View solution in original post

Yair
Hey ,

This is weird , I tried the same thing on my external network with ontapp 9.3 and it is working fine.

I guess it is something internal .

Thank you I will work on it



________________________________________

This message (including any attachments) issued by RAFAEL- ADVANCED DEFENSE SYSTEMS LTD. (hereinafter "RAFAEL") contains confidential information intended for a specific individual and purpose, may constitute information that is privileged or confidential or otherwise protected from disclosure. If you are not the intended recipient, you should contact us immediately and thereafter delete this message from your system. You are hereby notified that any disclosure, copying, dissemination, distribution or forwarding of this message, or the taking of any action based on it, is strictly prohibited. If you have received this e-mail in error, please notify us immediately by e-mail mailto:lawraf@rafael.co.il and completely delete or destroy any and all electronic or other copies of the original message and any attachments thereof.
Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public