Re: Reusing connections for multiple commands (General questions)

by wodDamir, (5140 days ago) @ jdlogicman

Hi,

You need to set Prompt property in that case, since otherwise we can't know when command is done executing. You can however change Prompt property during an active connection.

Also, if prompts are generic you can try using Regex values. I would suggest that you check the wodSSH help page on Prompt property:

http://www.weonlydo.com/SSH/Help/wodSSH-Prompt.html

for ActiveX version or

http://www.weonlydo.com/SSH.NET/Help/WeOnlyDo.Client.SSH.Prompt.html

for the .Net version.

Hope this helps.

Regards,
Damba

locked

Complete thread: