remote-ftp icon indicating copy to clipboard operation
remote-ftp copied to clipboard

SFTP fails since 2.2.1 (still in 2.2.2)

Open flowtron opened this issue 6 years ago • 7 comments

Prerequisites

  • [ X] Put an X between the brackets on this line if you have done all of the following:
    • Checked that your issue isn't already filed: https://github.com/icetee/remote-ftp/issues

Description

Connection failed – Error: All configured authentication methods failed

Steps to Reproduce

  1. Try to connect

Expected behavior: connection established

Actual behavior: Error

Reproduces how often: 100%

Versions

Atom : 1.32.0 Electron: 2.0.9 Chrome : 61.0.3163.100 Node : 8.9.3

OS: Ubuntu 18.04.01 LTS (bionic)

Additional Information

The issue occured since I upgraded the remote-ftp today to 2.2.1 and persists with the upgrade to 2.2.2; regular SSH connections work without any issue. SSHFS mount also works.

flowtron avatar Nov 20 '18 12:11 flowtron

Hi!

Only two things have changed

  • Add variable to style.less https://github.com/icetee/remote-ftp/commit/176ea22742efe0385ee6c472a0c05d4fa845fe88
  • Add new lines to CHANGELOG.md https://github.com/icetee/remote-ftp/commit/9b49f48a7c744638b90d606670c04d0dd9642fa9

He could not have caused any problems the update itself.

Please try remove .ftpconfig, restart Atom, maybe

Related of https://github.com/icetee/remote-ftp/issues/698 and https://github.com/icetee/remote-ftp/issues/83

icetee avatar Nov 20 '18 12:11 icetee

the changelog includes the remark "Upgrade SSH2 version", I thought this may be connected to my issue. Although the linked issue does not: https://github.com/icetee/remote-ftp/issues/1189 I had restarted a number of times already, removing the .ftpconfig and replacing it with an edited(!) copy of the README.md SFTP section example does not change the behaviour.

flowtron avatar Nov 20 '18 12:11 flowtron

Please try this commands:

apm remove remote-ftp
apm install [email protected]

icetee avatar Nov 20 '18 12:11 icetee

works any analysis/debugging I can do for you?

flowtron avatar Nov 20 '18 12:11 flowtron

@icetee I downgraded, the error continues the same. In FileZilla I can connect normally.

jeisoncp avatar Nov 21 '18 12:11 jeisoncp

I get the this error with a ed25519 key. Does Atom nodejs support ed25519? Seems there is something there. Switching the key to rsa worked.

anderssonit avatar Oct 10 '19 14:10 anderssonit

ssh2-streams has been updated within electron to support eded25519 (mscdex/ssh2-streams#100)

As remote-ftp is broken for anyone like me who upgraded all their keys, how hard is incorporating the this new version of the dependencies?

evansharp avatar Dec 07 '19 04:12 evansharp