Re: Examples fails - WeOnlyDo Discussion board

Re: Examples fails (General questions)

by Carlos, Thursday, February 23, 2006, 08:19 (6848 days ago) @ wodDrazen

Hello Drazen,

System is Suse Linux Enterprise Server, kernel 2.6.5-7.147-smp
telnet first line: SSH-1.99-OpenSSH_3.8p1

Sample Terminal VB Sample or Terminal CS Sample return:
[code]
CONNECTING

CONNECTED
Last login: Thu Feb 23 09:06:00 2006 from 192.168.0.17

carlos@icazar:~> ls

m
mbin
m
mDocuments
m
mpublic_html
m

m
[/code]
and stop here, i can only disconnect.

Sample Use Prompt Event Sample return:
[code]
TextBox1This sample will connect to server specified in Form1_Load sub,
and execute few commands, one by one.
Command output is received and shown in messageboxes.
---
This is a sample of using Prompt property and PromptReceived event
CONNECTED
RECEIVED SOME DATA...
[/code]
and stop here again.

and Waitfor and Execute sample, makes System Timeout Exception:

[code]
Ssh1.Blocking = true;
Ssh1.Protocol = WeOnlyDo.Client.SSH.SupportedProtocols.SSHAuto;
Ssh1.Timeout = 10;
Ssh1.Connect();

String a;

a = Ssh1.WaitFor( $ ); <---- Exception !!!
[/code]

thanks for your help!!!!


Complete thread: