Re: Columns setting not working on SSH connection (General questions)
[code]
this.sshClient = new SSH
{
Protocol = SSH.SupportedProtocols.SSHAuto,
Login = user,
Password = password,
Hostname = ipAddress,
Port = 22,
Blocking = true,
Timeout = 500,
Columns = 100,
Rows = 250,
Version = 2.5.3.139
};
try
{
this.sshClient.Connect();
string sshOutput;
do
{
sshOutput = this.sshClient.Receive();
}
while (!sshOutput.Trim().EndsWith(Prompt));
}
catch (Exception)
{
throw new ConnectionFailedException();
}
[/code]
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