SharpSSH jsch Algorithm negotiation fail

24sharon picture 24sharon · May 31, 2015 · Viewed 13.6k times · Source

I use SharpSSH .NET library for SFTP.
http://www.tamirgal.com/blog/page/sharpssh.aspx

When I try to connect the server I get an error

Algorithm negotiation fail

my print screen error

But when try to connect by FileZilla it works with no problems.

I find some with the same error but I do not find how to resolve this problem.

Like here: http://www.samhohce.net/questions/30190272/jsch-algorithm-negotiation-fail

Answer

Martin Prikryl picture Martin Prikryl · Jun 1, 2015

Do not use SharpSSH. It's not maintained since 2007!

It's likely insecure. And does not support modern ciphers and KEX algorithms (hence the error).

Pick another C# SFTP library.