Hi Guys,
I was just wondering why ssh command doesn't work on RunCommand. It hangs up.
Can anyone direct me? if it's not possible, is there any other way to do it? Thanks.
I was just wondering why ssh command doesn't work on RunCommand. It hangs up.
Can anyone direct me? if it's not possible, is there any other way to do it? Thanks.
using (var client = new SshClient("192.168.1.10", "root", "magic!0n3"))
{
client.Connect();
var cmd1 = client.RunCommand("ssh root@192.168.1.11");
//MessageBox.Show(cmd1.Result);
client.Disconnect();
}