ashkulz / NppFTP

Plugin for Notepad++ allowing FTP, FTPS, FTPES and SFTP communications
https://ashkulz.github.io/NppFTP/
320 stars 93 forks source link

SFTP login on WPMU Dev hosting server #264

Open andxblink opened 4 years ago

andxblink commented 4 years ago

In connection with WPMU Dev, who can be found here: https://premium.wpmudev.org/contact/

SFTP login at WPMU Dev Hosting plan server not working

I’m trying to connect to my WPMU DEV Hosting server SFTP with Notepad++. But I’m getting the following error:

Connecting [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

Steps to Reproduce the Issue

100% reproducible and confirmed by WPMU staff here: https://premium.wpmudev.org/forums/topic/hosting-sftp-issue-with-notepad/

And they claim that their server is standard configuration, so they cannot help.

Expected Behavior

SFTP to connect.

Actual Behavior

SFTP not connecting.

Debug Information

Connecting [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

Work around

Using “Try keyboard interactive authentication” is not good enough because that asks for the password for every file/folder click.

chcg commented 4 years ago

@andxblink Which version of nppftp do you use? Could you test the current release https://github.com/ashkulz/NppFTP/releases/tag/v0.30.2 with updated libssh component used for sftp connections.

andxblink commented 4 years ago

Error persists after update to V0.30.2.

andxblink commented 4 years ago

WPMU DEV confirms, unfortunately the error persists in their tests as well.

chcg commented 4 years ago

@andxblink Did WPMU DEV state which algorithms they support for sftp? The supported once are https://www.libssh.org/features/.

andxblink commented 4 years ago

This is the list of all [their] supported algorithms:

cipher:

3des-cbc
aes128-cbc
aes192-cbc
aes256-cbc
rijndael-cbc@lysator.liu.se
aes128-ctr
aes192-ctr
aes256-ctr
aes128-gcm@openssh.com
aes256-gcm@openssh.com
chacha20-poly1305@openssh.com

mac:

hmac-sha1
hmac-sha1-96
hmac-sha2-256
hmac-sha2-512
hmac-md5
hmac-md5-96
umac-64@openssh.com
umac-128@openssh.com
hmac-sha1-etm@openssh.com
hmac-sha1-96-etm@openssh.com
hmac-sha2-256-etm@openssh.com
hmac-sha2-512-etm@openssh.com
hmac-md5-etm@openssh.com
hmac-md5-96-etm@openssh.com
umac-64-etm@openssh.com
umac-128-etm@openssh.com

kex:

diffie-hellman-group1-sha1
diffie-hellman-group14-sha1
diffie-hellman-group14-sha256
diffie-hellman-group16-sha512
diffie-hellman-group18-sha512
diffie-hellman-group-exchange-sha1
diffie-hellman-group-exchange-sha256
ecdh-sha2-nistp256
ecdh-sha2-nistp384
ecdh-sha2-nistp521
curve25519-sha256
curve25519-sha256@libssh.org

key:

ssh-ed25519
ssh-ed25519-cert-v01@openssh.com
ssh-rsa
ssh-dss
ecdsa-sha2-nistp256
ecdsa-sha2-nistp384
ecdsa-sha2-nistp521
ssh-rsa-cert-v01@openssh.com
ssh-dss-cert-v01@openssh.com
ecdsa-sha2-nistp256-cert-v01@openssh.com
ecdsa-sha2-nistp384-cert-v01@openssh.com
ecdsa-sha2-nistp521-cert-v01@openssh.com

Please note, just in case it makes any difference that [our/their] servers don’t support cross-login, for SFTP you’ll need an SFTP account and a program that natively supports pure SFTP connections ( sftp:// ) and not via SCP/SSH logins. Just mentioning as this is a security feature and most Editors are having issues since they are trying to connect via SSH instead ( not sure why they are scripted like that ).

[Regards, Konstantinos]

andxblink commented 4 years ago

Error persists in 0.30.2