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

Couldn't start a terminal for xxx: All configured authentication methods failed #378

Closed elayoutable closed 1 year ago

elayoutable commented 1 year ago

Hi there,

The extension is very great! Thank you very much! It worked perfect some weeks ago.

But now I´ve got the message: Couldn't start a terminal for xxx: All configured authentication methods failed.

The ssh key is the same. I´ve tried the login with puuty (same sshkey) and no problems. I didn´t change anything.

Have you got a tipp for me? I´ve tried the older version 1.25 but with the same result. Thank you!

SchoofsKelvin commented 1 year ago

Did you recently update your server or the OpenSSH server running on it? If so, you could check the build I mentioned in #309.

Otherwise provide me with your debug logs, so please follow these steps:

elayoutable commented 1 year ago

Unfortunately I´m to stupid ... :(

I´ve downloaded the Build extension #122 (vscode-sshfs-master.vsix.zip), but I can´t install it in Visual Studio Code (as a zip or unzipped).

I´ve added "DEBUG_SSH2" to the "sshfs.flags", but where can I find the log (Output > SSH FS)?

SchoofsKelvin commented 1 year ago

You can use the Extensions: Install from VSIX... command to install the .vsix file (after unzipping) from the build.

The output is in the Output pane, in the same place as the Terminal pane. You can use the View: Toggle Output command and then selecting SSH FS in the dropdown.

SchoofsKelvin commented 1 year ago

I've published a new version of the extension (v1.26.1) which includes this fix, so it's not necessary anymore to manually install the custom build to test it. If you still encounter this issue, comment on (and reopen) this issue.