Quantcast
Channel: sshnet Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 1026

Created Unassigned: Maintain connection through different forms [1961]

$
0
0
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.__

Viewing all articles
Browse latest Browse all 1026

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>