Hi,
I am creating a C# application that executes Linux command remotely.
Everything is fine with SSH.NET.
But when I enter wrong password it is not giving proper ERROR, just exception un-handed is the message that I am getting, and also "__No suitable authentication method found to complete authentication__."
But i just want to pop-up with a messagbox that re-enter user, something like that how can I overcome this.
Thanks & Regards
Avinash.
Comments: ** Comment from web user: avinashav **
I am creating a C# application that executes Linux command remotely.
Everything is fine with SSH.NET.
But when I enter wrong password it is not giving proper ERROR, just exception un-handed is the message that I am getting, and also "__No suitable authentication method found to complete authentication__."
But i just want to pop-up with a messagbox that re-enter user, something like that how can I overcome this.
Thanks & Regards
Avinash.
Comments: ** Comment from web user: avinashav **
Hi sorry for bugging you,
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__.