i would like to use the ssh stream to watch a logfile with "tail -f <filename>" and to capture the output for 10 seconds. But how can I receive the output until I get the prompt again?! Sometimes it is truncated when I use
Dim Response As String = client.ReadResponse()
And sometimes it is hanging and I have to stop...
Is there a way of asyncronous monitoring the output of a command?!
Thanks & Regards,
Johannes von Drachenfels
Geschäftsführer: Johannes von Drachenfels
Sitz der Gesellschaft: Pforzheim
Handelsregister: Registergericht Mannheim: HRB 504389
Notice: This transmittal and/or attachments may be privileged or confidential. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, or copying is strictly prohibited. If you received this transmittal in error, please notify us immediately by reply and immediately delete this message and all its attachments. Thank you.