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

Improve documentation / Settings UI regarding authentication methods interfering with each other #274

Open ASMag opened 3 years ago

ASMag commented 3 years ago

Thanks for writing extention SSH FS!

Situation: I am using SSH with Public Key authentication. The private key is available via Pageant at my Windows workstation.

Issue: Rather by chance I found out that in SSH FS - configuration (Strg + Shift + P and typing "SSH FS: Edit configuration") it is important to leave the following input fields empty: Password, Private key In other Tools, which use SSH you have to choose the path to the private key, which is available via Pageant.

It would be great, if you give a hint in the extention documentation. So less people will stumple.

SchoofsKelvin commented 3 years ago

I'll update the Settings UI where it clearly states this issue.

Ideally the extension should try all the provided methods in order (and it kind of tries this), but I know it's not perfect. Once the underlying ssh2 library finished its full refactor, it might work better.