Invoke-NcSsh : No connection could be made because the target machine actively refused it
2016-05-19
01:09 PM
4,526 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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,