Re: Inconsistent SSH behavior (General questions)
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:
- Inconsistent SSH behavior - Herut, 2010-04-22, 17:28
- Re: Inconsistent SSH behavior - woddrazen, 2010-04-22, 17:40
- Re: Inconsistent SSH behavior - Herut, 2010-04-22, 17:48
- Re: Inconsistent SSH behavior - woddrazen, 2010-04-22, 17:58
- Re: Inconsistent SSH behavior - Herut, 2010-04-22, 18:59
- Re: Inconsistent SSH behavior - woddrazen, 2010-04-22, 19:06
- Re: Inconsistent SSH behavior - Herut, 2010-04-22, 18:59
- Re: Inconsistent SSH behavior - woddrazen, 2010-04-22, 17:58
- Re: Inconsistent SSH behavior - Herut, 2010-04-22, 17:48
- Re: Inconsistent SSH behavior - woddrazen, 2010-04-22, 17:40