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

New Post: VB.NET Framework 3.5 and Renci ssh - keep session open

$
0
0
You understand me wrong. My solution works fine for your question.
You don't have to relogin for every command.
Open the session, login and run your commands.
But if your commands need the same shell context you have to combine them in one command or use a ShellStream.

If you want to talk to a database, why do you need the same shell for the commands?
Why not forward your database with port forwarding and talk to the database directly
instead of invoking shell commands?

Viewing all articles
Browse latest Browse all 1729

Trending Articles



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