EldoS | Feel safer!

Software components for data protection, secure storage and transfer

SimpleSSH Console App Questions

Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages
Posted: 02/15/2008 10:54:50
by Dana Phan (Basic support level)
Joined: 02/15/2008
Posts: 1

I have tried gutting the SimpleSSH demo for VS 2005 and came up empty. Right now it stops at client.Open(). There is no error, it just hangs there. I need some assistance. Here is a sample of what I have.
client.Address = address;
client.Port = 22;
client.Username = un;
client.Password = pw;
client.Versions = 0;
client.ForceCompression = false;
client.AuthenticationTypes = client.AuthenticationTypes & (~SBSSHConstants.Unit.SSH_AUTH_TYPE_PUBLICKEY);

Console.WriteLine("Connecting to ftp.govconnect.com ...");
client.Open(); \\Just hanges here. I dont know what it is doing.

catch (Exception e)
Console.WriteLine("SSH connection failed", e.ToString());
Posted: 02/15/2008 11:13:05
by Ken Ivanov (EldoS Corp.)

1) You turned off all the supported protocol versions. Please remove the following line:
client.Versions = 0;

2) Use OnError event to track protocol errors.



Topic viewed 1284 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!