liximomo / vscode-remote-fs

Working with any file in everywhere with vscode.
MIT License
166 stars 17 forks source link

Solution how to fix it: All configured authentication methods failed #114

Open HTTPXSS opened 4 months ago

HTTPXSS commented 4 months ago

Is your feature request related to a problem? Please describe.

When connecting to newer versions of Linux (e.g. Ubuntu 22.04 and higher), connection is not possible.

macOS Ventura 13.6.4

Describe the solution you'd like

You need to update the ssh2 library to the latest version.

Describe alternatives you've considered

The current "on-the-fly" temporary solution is as follows:

In the user directory, delete the line from the ~/.vscode/extensions/liximomo.remotefs-0.0.16/package.json file:

        "ssh2": "^v0.8.2",   <--- REMOVE THIS

Install a new package of the current version Must have nodejs installed (I used version 20.11.0), as well as yarn

cd ~/.vscode/extensions/liximomo.remotefs-0.0.16
yarn add ssh2

Done!

The extension now works with current encryption versions!

heythisischris commented 4 weeks ago

Thank you!