Quantcast
Channel: sshnet Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1729

New Post: Cipher method '' is not supported.

$
0
0
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
            var connectionInfo = new PrivateKeyConnectionInfo("server", 22, "user", new PrivateKeyFile(File.OpenRead(@"my key file"), "passphraze"));
using (var ssh = new SshClient(connectionInfo))
            {
            ... some code...
            }

//Error
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?

Viewing all articles
Browse latest Browse all 1729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>