Re: SSH.net Exception :: Timeout occurred due to i (General questions)
Hi Jairo,
Actually, the exception is thrown since wodSSH.Netnever receives the prompt specified.
However, what happens if you try something like this:
ssh.WaitFor( admin: , 10);
ssh.DataReady = 0;
ssh.Execute( call state\r\n , admin: , 10);
Please note that when 3rd parameter (timeout) is specified, component will not disconnect. It will proceed with the code (provided that you have global Timeout property set to higher value).
Regards,
Damba
Complete thread:
- SSH.net Exception :: Timeout occurred due to inact - Jairo Martinez, 2012-07-25, 20:25
- Re: SSH.net Exception :: Timeout occurred due to i - wodDamir, 2012-07-25, 21:33
- Re: SSH.net Exception :: Timeout occurred due to i - digimenet, 2012-07-25, 22:13
- Re: SSH.net Exception :: Timeout occurred due to i - wodDamir, 2012-07-25, 22:40
- Re: SSH.net Exception :: Timeout occurred due to i - digimenet, 2012-07-25, 22:13
- Re: SSH.net Exception :: Timeout occurred due to i - wodDamir, 2012-07-25, 21:33