I am using :
client = new SshClient(res.host, int.Parse(res.port), res.user, res.password);
_client.connect();
in __FORM1__
after successful authentication I want to execute commands in __FORM2__:
Just like : _client.RunCommand("touch newfile1");
but the error is sshclient is not present in this form.
my question how to maintain a __single authentication through out different forms.__
Comments: This is beyond the scope of this project, but I think you got some constructive feedback from BogusException in the discussions forum.
Good luck!
client = new SshClient(res.host, int.Parse(res.port), res.user, res.password);
_client.connect();
in __FORM1__
after successful authentication I want to execute commands in __FORM2__:
Just like : _client.RunCommand("touch newfile1");
but the error is sshclient is not present in this form.
my question how to maintain a __single authentication through out different forms.__
Comments: This is beyond the scope of this project, but I think you got some constructive feedback from BogusException in the discussions forum.
Good luck!