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

All configured authentication methods failed with ssh key #431

Open
janstieler opened this issue Nov 15, 2021 · 3 comments
Open

All configured authentication methods failed with ssh key #431

janstieler opened this issue Nov 15, 2021 · 3 comments

Comments

@janstieler
Copy link

janstieler commented Nov 15, 2021

Hi,
I tried to use a ssh key for connecting to my sftp. But I got the error All configured authentication methods failed.
My config is this:
Bildschirmfoto 2021-11-15 um 22 30 Kopie
I have read here some other issues with the same problem but they didn't help me.
So if someone have an idea what I do wrong pls answer my issue.

Cheers
PS: The hostfield is only for here empty.

@MauryJohnson
Copy link

MauryJohnson commented May 12, 2022

Hey,

I had the same issue using ftp-remote-edit, but I was able to get it to work by doing the following:

  1. Go to the ftp-remote-edit settings menu and select "Open Config Folder" option.
    image

  2. Find the .atom/packages/ftp-remote-edit directory, find the file named "package.json" and edit it.
    image

  3. Find the keyword "ssh2" and replace "^0.8.2" with "0.8.2".
    image

  4. Save, restart atom and try to connect to your ssh server again.

@melgibson1337
Copy link

melgibson1337 commented Jul 9, 2023

Hi,

Replacing "^0.8.2" with "0.8.2" didn't work for me.

I've got some old servers on ubuntu 20.04 and some new ones on 22.04

New servers: OpenSSH_8.9p1 Ubuntu-3ubuntu0.1, OpenSSL 3.0.2 15 Mar 2022

Older servers: OpenSSH_8.2p1 Ubuntu-4ubuntu0.7, OpenSSL 1.1.1f 31 Mar 2020

Old servers work fine, new servers will return: "All configured authentication methods failed"

Filezilla also works fine on all servers. This means the problem must be that the OpenSSH 8.9 version is not compatible with FTP-Remote-Edit's ssh2 version at this moment.

FIX:

  1. set the latest ssh2 version in the package.json. e.g. "ssh2": "^1.14.0"
  2. save file and close Pulsar
  3. navigate to the \.pulsar\packages\ftp-remote-edit\node_modules directory and open command prompt there
  4. run: npm install ssh2 (make sure you have nodejs installed)

It works now.

markeclaudio added a commit to markeclaudio/ftp-remote-edit that referenced this issue Feb 28, 2024
This fixed bug All configured authentication methods failed with ssh key h3imdall#431
markeclaudio added a commit to markeclaudio/ftp-remote-edit that referenced this issue Mar 25, 2024
This fixed bug All configured authentication methods failed with ssh key h3imdall#431
@markeclaudio
Copy link
Contributor

Quick way to temporary fix until they approve my pull request:

Go to .pulsar\packages\ftp-remote-edit\node_modules\ssh2 and rename it to .pulsar\packages\ftp-remote-edit\node_modules\ssh2.old.

Now unzip the archive from https://github.com/mscdex/ssh2/archive/refs/tags/v0.8.9.zip and rename the folder in ssh2.

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

4 participants