Quantcast
Channel: sshnet Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 1026

Commented Unassigned: Need to delete redundant encryptions when using ConnectionInfo [1914]

$
0
0
Need to delete redundant keys in order to communicate with some servers. More than one encryption throws an exception.

foreach (var d in connectionInfo.Encryptions.Where(p => p.Key != "aes256-cbc").ToList())
{
connectionInfo.Encryptions.Remove(d.Key);
}
Comments: ** Comment from web user: c_t_klein **

I don't have a public server but I can say that I run into the same problem connecting to a Tumbleweed FTP server and I have to do a similar piece of code:

foreach (var d in connectionInfo.Encryptions.Where(p => p.Key != "aes128-cbc").ToList()) { connectionInfo.Encryptions.Remove(d.Key); }


Viewing all articles
Browse latest Browse all 1026

Trending Articles



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