Hi Oleg,
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
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?
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...
}
//ErrorAn 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?