Quantcast
Viewing all articles
Browse latest Browse all 1729

New Post: Timeout establishing SSH sessions

I'm using the SSH-Sessions module in Powershell to issue commands to various devices over SSH sessions however I have a few devices that 'hang' when establishing a session or shortly thereafter, requiring that the powershell session be closed.

Does anyone know of a way to specify a timeout on SSH.NET calls? If necessary I could re-write the script as a C# executable although I would prefer to keep this as a Powershell script if possible.

Thanks.

Viewing all articles
Browse latest Browse all 1729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>