Microsoft Virtualization Discussions

Invoke-NcSsh : No connection could be made because the target machine actively refused it


It seems like when the Invoke-NcSsh cmdlet is ran repeatedly against a cluster I'll sometimes will see this error.  If I add a sleep of 1 second in between I will avoid it.  Are there any other methods available to avoid this issue that anyone has found?



I'm seeing this also - OnTap 9.1P1 and Powershell Toolkit 4.3.0.  Thanks for the suggestion on 'start-sleep'.  In my testing it behaves like some kind of SSH command buffer overload that you can avoid by programming in wait time.  I'm just speculating though, I don't know the actual cause of this.  Anny additional info would be appreciated.  Thanks,

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