SchoofsKelvin / vscode-sshfs

Extension for Visual Studio Code: File system provider using SSH
GNU General Public License v3.0
543 stars 36 forks source link

SSH connection via private key (.pem) file does not work any more #383

Open stemiwe opened 1 year ago

stemiwe commented 1 year ago

Using SSH FS v1.26.1 in VSCode 1.77.1 on Manjaro

Some recent upgrade in VSCode or an underlying library must have broken the functionality to connect with unencrypted .pem keys, and encrypted keys do not seem to work.

I am not sure what changed, but a downgrade of VSCode alone to 1.74 did not resolve it.

The problem must be very recent - yesterday SSH FS still worked in any old VSCode windows I had open, but did not work in new ones, indicating a very recent upgrade to something must be to blame. Today, after rebooting, SSH FS connections via private key did not work any more at all.

Problem description

My guess is that something changed in one of the underlying libraries (SSH?)

MichalTrz commented 1 year ago

I have what seems to be the same issue. I tried to modify the sshd config files on the linux server side with no luck.

Emilio0612 commented 1 year ago

Hello! Same error here.

Temporarily, you can go back to version 1.26.0 to fix it until the bugfix arrives. Changing version, the error is solved.

In my case, it is with .ssh/id_rsa

javiercampos commented 1 year ago

Same here... after downgrading to 1.26.0, I get an error with a .toml file (it's trying to find a remote pyproject.toml file or something?) but it works