Re: Columns setting not working on SSH connection (General questions)
Hannes,
Can you maybe try something like this and check how it works.
[code] WeOnlyDo.Client.SSH ssh1 = new WeOnlyDo.Client.SSH();
ssh1.Hostname = your_hostname ;
ssh1.Blocking = true;
ssh1.Login = your_login ;
ssh1.Password = your_password ;
ssh1.Protocol = WeOnlyDo.Client.SSH.SupportedProtocols.SSH2;
ssh1.Columns = 200;
ssh1.Connect();
ssh1.WaitFor( regex:[\$ #>] $ );
ssh1.DataReady = 0;
Console.WriteLine(ssh1.Execute( echo 12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
, regex:[\$ #>] $ ));[/code]
you should received output inside one column because Columns Property ti set to 200.
Drazen
Complete thread:
- Columns setting not working on SSH connection - Hannes Lowette, 2012-01-24, 11:41
- Re: Columns setting not working on SSH connection - woddrazen, 2012-01-24, 12:14
- Re: Columns setting not working on SSH connection - Hannes Lowette, 2012-01-24, 12:54
- Re: Columns setting not working on SSH connection - woddrazen, 2012-01-24, 14:02
- Re: Columns setting not working on SSH connection - Hannes Lowette, 2012-01-24, 15:03
- Re: Columns setting not working on SSH connection - woddrazen, 2012-01-24, 15:43
- Re: Columns setting not working on SSH connection - Hannes Lowette, 2012-01-24, 15:03
- Re: Columns setting not working on SSH connection - woddrazen, 2012-01-24, 14:02
- Re: Columns setting not working on SSH connection - Hannes Lowette, 2012-01-24, 12:54
- Re: Columns setting not working on SSH connection - woddrazen, 2012-01-24, 12:14