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

New Post: Identifying that a command has finished (ShellStream)

$
0
0
We have solved our local problem (as far as I understand, it is not a general solution) by adding into source code overloaded version of RunCommand(, Action<> InteractiveResponse). We have found that, when an interactive program asks for input (even if the prompt is empty) SshCommand's method Channel_DataReceived() gets fired. When this happens, we immediately ::SendData(...). These data are then pushed by sshd into remote program's stdin. It seems that these follow up messages do not violate any RFC.

Viewing all articles
Browse latest Browse all 1729

Trending Articles



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