Hi there,
I am also frequently getting the same issue when I connect o SFTP. Telnet command gave the message starts with SSH-2.0-. . below is my code
ftp.Connect(server, port);
if (keyFile == null || keyFile.Length==0)
ftp.Login(user, password);
else
ftp.Login(user, new Rebex.Net.SshPrivateKey(keyFile, keyFilePassword));
Please let me know How can we fix this issue