vscode-remote-fs icon indicating copy to clipboard operation
vscode-remote-fs copied to clipboard

Solution how to fix it: All configured authentication methods failed

Open HTTPXSS opened this issue 1 year ago • 3 comments

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!

HTTPXSS avatar Feb 09 '24 04:02 HTTPXSS

Thank you!

heythisischris avatar Jun 07 '24 17:06 heythisischris

Thank you as well!

p.s. you can use npm for adding ssh2 instead of yarn

npm install ssh2

xunlight avatar Jul 17 '24 11:07 xunlight

This also fixes not being able to parse ed25519 private keys!

image

luckman212 avatar Jul 17 '24 13:07 luckman212