Hi I have got the SshClient to work fine.
But when I want to erase and reload a device it hangs and obviously will not reconnect as it has different credentials.
Is there a way to issue a command and disconnect as soon as the command is sent, or have a timeout of like 10 seconds, so if it cannot reconnect it goes to the next line
var command= client.RunCommand("reset");
command.Execute();
Thanks
But when I want to erase and reload a device it hangs and obviously will not reconnect as it has different credentials.
Is there a way to issue a command and disconnect as soon as the command is sent, or have a timeout of like 10 seconds, so if it cannot reconnect it goes to the next line
var command= client.RunCommand("reset");
command.Execute();
Thanks