Invoke-NcSsh : No connection could be made because the target machine actively refused it
2016-05-19 01:09 PM
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?
1 REPLY 1
Re: Invoke-NcSsh : No connection could be made because the target machine actively refused it
2017-05-09 03:41 PM
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,