Re: Inconsistent SSH behavior - WeOnlyDo Discussion board

Re: Inconsistent SSH behavior (General questions)

by woddrazen, Thursday, April 22, 2010, 17:40 (5328 days ago) @ Herut

Hi Herut,


Inside your Execute Method line in your code I don't see that you catch prompt that should be received after command is executed.

Can you please try something like this
[code]answer = sshConnect.Execute(command + \r\n , next_prompt);[/code]
That could solve your problem.

Let us know how it goes.


Regards,
Drazen


Complete thread: