vscode-remote-fs
vscode-remote-fs copied to clipboard
Solution how to fix it: All configured authentication methods failed
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!
Thank you!
Thank you as well!
p.s. you can use npm for adding ssh2 instead of yarn
npm install ssh2
This also fixes not being able to parse ed25519 private keys!