Oct 11, 2014 at 5:43 PM
I'm using sshnet for the first time and have a question. I use the following code to connect

using (var client = new SshClient("<site>", port, "<uid>", "<pw>"))

When I invoke the runcommand method, I receive a message that "client is not connected". When I check the client.IsConnected and client.IsAuthenticated attribute, both come back as true. Can someone point me in the right direction? All I'm trying to do is download and upload several files.

Thank you.
Oct 12, 2014 at 5:46 PM
Duplicate of discussion 569568.
Marked as answer by drieseng on 10/12/2014 at 10:46 AM