Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
powershell tolls 9.8 , invoke-ncssh is not working with ontap 9.3 or above
2021-04-04
12:53 AM
3,579 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Solved! See The Solution
1 ACCEPTED SOLUTION
Yair has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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/
3 REPLIES 3
Yair has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
