Re: send - WeOnlyDo Discussion board

Re: send (General questions)

by eltaghi, Saturday, April 08, 2006, 16:57 (6595 days ago) @ wodDrazen

I used C# as follows:
------
try
{
Ssh1.WaitFor( regex:[$ #>] $ );
Ssh1.Execute( enable\r\n , Password: );
Ssh1.Send( mypassword\r\n );
outputTxt.Text = receiveLast();
}
catch (Exception ex)
{
outputTxt.Text = ERROR: + ex.Message;
}
---
But I get :
ERROR: Timeout occurred due to inactivity.
=====
Thanks for your quick response.


Complete thread: