Open mykolq opened 7 years ago
@mykolq
@mykolq No reaction yet. Is this still happening?
to solve your problem do this:
edit /etc/ssh/sshd_config
PasswordAuthentication yes UsePAM yes KexAlgorithms diffie-hellman-group1-sha1,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1 Ciphers 3des-cbc,blowfish-cbc,aes128-cbc,aes128-ctr,aes256-ctr
Hello,
this is for sure an option, but plugin should fit new default serveurs policies and suport more Algorithms On suse 12, The default is: curve25519-sha256@libssh.org, ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group14-sha1
@abonne01 nppFTP is based on libssh, see https://www.libssh.org/features/ for the supported algorithms.
@chcg : current version of libssh feature is supporting "ecdh-sha2-nistp256" and "diffie-hellman-group14-sha1", which is part of algorithms suported by my server.
How can I update dll to add this support?
@abonne01 Which version of NppFTP do you use? See #155, latest libssh is in use since 0.27.0 See also https://security.stackexchange.com/questions/107304/ssh-ciphers-mac-and-key-exchange-and-pen-tests-thereof for server capabilities test.
Hello, thanks. Version is up to date 0.27.3. I crosscheck parameters of nppFTP, in authentication tab, only password authentication is checked by default. It seems that this method isn't supported by server (don't really know why). It's working if I check Keyboard authentication. In such case, remember password is not working.
Anyway, not a perfect solution, but at least, I can use it. Thanks
@abonne01 And what do you enter on the interactive keyboard? Username, password or something different? Typically the username/password is the most commonly used authentication method. The server provider has to give the user the information how to authenticate, see e.g. https://test.rebex.net/. Otherwise it will end up in trial and error.
Hello.
sorry for late reply, I missed notification.
These are authentification supported (debug mode with ssh)
debug1: Authentications that can continue: publickey,keyboard-interactive
Then, I have the popup in notepad++ to ask password:
See https://github.com/lukasz-wronski/vscode-ftp-sync/issues/122 and https://superuser.com/questions/894608/ssh-o-preferredauthentications-whats-the-difference-between-password-and-k
so for the keyboard-interactive mode the input can't be stored as it is not clear what the request from the server will be from my understanding.
@abonne01 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.
Hi, thanks for update. i updated DLL (manually, not in notepad++ depot yet)
Unfortunately, for my issue (password save for interactive authentication), it's still the same. I know we should set this parameter (PasswordAuthentication yes) but it's not possible on this server.. As it's explained on links you sent in previous message, such authentication could be questions or others custom things. But 99% cases, i'm sure it's only asking password (as in my previous screenshot).
Anyway, always good to have latest version for openssl.
@abonne01 Did you try to authenticate via public key? The new version of libssh supports more algorithms (see https://www.libssh.org/2018/08/10/libssh-0-8-0/ and https://www.libssh.org/2018/09/21/libssh-0-8-3/) and maybe one compatible with your server is now supported.
[Win 10, N++ v7.8.9, NppFTP v0.30.1 Unicode]
Hi, I ran into the same problem. But: I use NppFTP with several servers. The authentication method is set to "Try password authetication" This works well in all but one servers. This one only is accessable by keyboard interactive authentication AND when I try to edit a file, I again have to enter the password. Obviously, this problem is connected with the server in question. The OS of those, that are working well, is Ubuntu (16 to 18), the one having problems runs on SLES 11 SP1. Too old (2007)? Regards
Description of the Issue
Cannot connect to ssh server by plugin. Winscp - ok. Plugin log:
[SFTP] Host key accepted [SFTP] None of the server's authentication methods were accepted. Please check the options under the authentication tab. Unable to connect Disconnected
Ssh server:Apr 24 17:45:32 loaders sshd[42194]: Connection from 192.168.3.85 port 15480 on 192.168.3.222 port 22 Apr 24 17:45:32 loaders sshd[42194]: Received disconnect from 192.168.3.85 port 15480:11: Bye Bye [preauth] Apr 24 17:45:32 loaders sshd[42194]: Disconnected from 192.168.3.85 port 15480 [preauth]
Authentification - password.Steps to Reproduce the Issue
Expected Behavior
I wanna connect to ssh for editing scripts
Actual Behavior
Error
Debug Information
Notepad++ v7.3.3 (64-bit) Build time : Mar 8 2017 - 03:39:58 Path : C:\Program Files\Notepad++\notepad++.exe Admin mode : OFF Local Conf mode : OFF OS : Windows 10 (64-bit) Plugins : mimeTools.dll NppConverter.dll NppFTP.dll