Archived Forum Post

Index of archived forum posts


SSH command output

Mar 22 '13 at 00:12

Im using the example for the SSH remote execute a command that is provided just messing around really, what my question is for commands that show log files

such as command

tail -f /var/log/messages

that command runs and will keep the command running and show any new lines that are added to the log file on the server.

what my question is what is the best way in VB.NET 2010 to show in the a textbox and keep the output coming until disconnection and get any new output that shall come in and add to the textbox? would I loop or how could I do this? again im using the example to play with for now.

could anyone provide a example please of what I described? thank you :)