.netsshsftpsharpssh

SharpSSH jsch Algorithm negotiation fail


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


Solution

  • 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.