Subscribe

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?

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

[ Edited ]

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,