This project is read-only.

Timeout for client.RunCommand()?

Apr 18, 2013 at 12:49 AM
So Im using:
using (var client = new SshClient(connectionInfo))
    var cmd = client.RunCommand(command);
    unixResults = cmd.Result;
Does var cmd = client.RunCommand(command); have a timeout? If the command causes unix to hang or whatnot, will it ever timeout? Or will the code be stuck forever waiting?
Apr 23, 2013 at 4:38 PM
Any thoughts?