Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SFTP connection suddenly doesn't work. Works in other applications. #164

Closed
Menelo opened this issue Jun 10, 2017 · 4 comments
Closed

SFTP connection suddenly doesn't work. Works in other applications. #164

Menelo opened this issue Jun 10, 2017 · 4 comments

Comments

@Menelo
Copy link

Menelo commented Jun 10, 2017

As of today I cannot connect via SFTP, it keeps popping error message:
[SFTP] Connection failed : kex error : no match for method kex algos: server [diffie-hellman-group-exchange-sha256], client [curve25519-sha256@libssh.org,ecdh-sha2-nistp256,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1]

I've tried connecting with WinSCP, and SFTP worked without issues, so I guess the problem is with NppFTP.

Debug Information

Notepad++ v7.3.3 (32-bit)
Build time : Mar 8 2017 - 03:37:37
Path : C:\Program Files (x86)\Notepad++\notepad++.exe
Admin mode : OFF
Local Conf mode : OFF
OS : Windows 10 (64-bit)
Plugins : mimeTools.dll NppConverter.dll NppExport.dll NppFTP.dll PluginManager.dll

version of Notepad++: v7.3.3 (32-bit)
type of FTP connection: SFTP
type of authentication: password

@chcg
Copy link
Collaborator

chcg commented Jun 11, 2017

@Menelo NppFTP uses libssh to support sftp. The supported algorithms are the ones mentioned in the trace:

client [curve25519-sha256@libssh.org,ecdh-sha2-nistp256,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1]

, see https://www.libssh.org/features/

So there will be no support for diffie-hellman-group-exchange-sha256 without the support from libssh for it.

See also https://blog.gdssecurity.com/labs/2015/8/3/ssh-weak-diffie-hellman-group-identification-tool.html, where it is stated that this KEX Algorithm is part of RFC 4419.

Maybe you want to add a feature request at https://red.libssh.org/projects/libssh/issues.

Are you using NppFTP v0.27.1 ? If the support dropped lately that was probably a configuration change on server side.

@chcg
Copy link
Collaborator

chcg commented Jan 1, 2019

@Menelo You may want to test current release https://github.com/ashkulz/NppFTP/releases/tag/v0.28.0 which contains updated libssh version 0.8.6 with support for additional algorithms.

@Ben-Voris
Copy link

Please, would you close this?

@chcg
Copy link
Collaborator

chcg commented Oct 31, 2022

As there is no response from creator -> closed

@chcg chcg closed this as completed Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants