Hi BitFlipper,
Base on my experiment. I hope this helps. Anyone is invited to add new ideas.
This works for me. RSA-Key generated then throw secondary command.. something like LS.
Base on my experiment. I hope this helps. Anyone is invited to add new ideas.
This works for me. RSA-Key generated then throw secondary command.. something like LS.
using (var client = new SshClient("192.168.1.10", "root", "magic!0n3"))
{
client.Connect();
var cmd1 = client.RunCommand("ssh root@192.168.1.11;ls;");
//MessageBox.Show(cmd1.Result);
client.Disconnect();
}