This project has moved and is read-only. For the latest updates, please go here.

Tamir.SharpSSH.dll and keysize above 1024 bits

Feb 9, 2011 at 1:48 PM

We have been told that Tamir.SharpSSH.dll has a couple of shortcomings that caused this kind of error

Message: Session.connect: System.Security.Cryptography.CryptographicException: Bad Data.

Every other SSH client we have tested worked just fine.

The problem is most likely caused by the fact that the Tamir.SharpSSH.dll library is old and only supports keys up to 1024 bits. Nowadays this is not enough. Also the library has issues with 64bit Windows.

You may find this blog post instructive: http://danielcai.blogspot.com/2010/11/sharpssh-recompiled-version-compatible.html

/Antti

 

Apr 8, 2013 at 7:06 AM
Ant

All the other SFTP libraries that I have seen are way overpriced. This is a good one:
https://www.kellermansoftware.com/p-41-net-sftp-library.aspx