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

New Post: Keeping same session/channel between distinc commands execution

$
0
0
Hi,

I would like to run two related commands. For instance:
  1. cd /
  2. dir
I saw that each RunCommand call resets the SSH session so the second command won't have the same session as the first one.

Is it possible to keep the session/channel open, so two commands will be executed within the same session?

Thanks,
Nick

Viewing all articles
Browse latest Browse all 1729

Latest Images

Trending Articles



Latest Images