This project is read-only.

"Key exchange negotiation failed" using password or private key connection

Jun 26, 2013 at 2:37 PM
On a project I've been involved several months ago, I used SSH.NET to connect to an SFTP server to upload/download files. At that time, I used the PasswordConnectionInfo class to connect using username and password.

Last week I was testing the upload and connecting to the server resulted on a "Key exchange negotiation failed" on the connect call.

I requested a private key and converted using PuttyGen, both encrypted -with passphrase- and non-encrypted, and the error remains.

The private key they sent me and the server are using rsa 2048.

How should I proceed in order to connect properly?

Pablo A.