This project is read-only.

Cipher method '' is not supported.

Aug 8, 2014 at 4:29 AM
Edited Aug 8, 2014 at 5:59 AM

I was trying to login into one of our company's Gateway that uses SSH2 Public keys with DSA-2048 bit encryption and had no luck.

I'm getting an error when trying to establish connection.

//Connection info
            var connectionInfo = new PrivateKeyConnectionInfo("server", 22, "user", new PrivateKeyFile(File.OpenRead(@"my key file"), "passphraze"));
using (var ssh = new SshClient(connectionInfo))
            ... some code...

An unhandled exception of type 'Renci.SshNet.Common.SshException' occurred in Renci.SshNet.dll

Additional information: Cipher method '' is not supported.

Is there any chance I did something wrong?