Quantcast
Channel: sshnet Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1729

New Post: ssh conversation

$
0
0
Griffin90,

You're on the right track. Just like a real terminal, the results of a command are returned like they would be in a terminal session if you were 'manually' logged on via SSH. When you capture the result (output) from the terminal, it is in a string, and you can parse it either yourself, or via one of the built in regex methods.

You will do well in the long run by going through the help examples, as well as even perusing the source. Build small, short examples to test each one, and expand on them if you need to.

Because there are a lot of C# examples, you can grab the free version of free version of Instant VB from Tangible Solutions to convert. I write in both, but like VB more. Also, others have posted code using Renci, so a clever Google search will turn up quite a few examples as well.

At least you aren't trying all the other libraries, beating your head against the wall for days or weeks, then trying another before finally stopping at Renci... :)

Good hunting!

pat
:)

Viewing all articles
Browse latest Browse all 1729

Trending Articles



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