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.
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.