jeanp413 / open-remote-ssh

VSCode Remote Development: Open any folder on a remote machine using SSH.
MIT License
288 stars 40 forks source link

Add support for using SSH_ASKPASS environment variable #122

Open lobroc opened 10 months ago

lobroc commented 10 months ago

Hi, The SSH_ASKPASS environment variable is an important component towards SSH authentication integration with the host system on Linux-based operating systems. The Gnome and KDE desktop environments provide their own graphical password prompts, for example. These prompts do not simply make entering passwords nicer, but also integrate with the desktop environment: for KDE (I cannot speak for Gnome), the prompt automatically queries the system keyring and loads the password if it's contained within, thus requiring no password entry at all.

It would be a very nice quality of life change if this feature was to be added. If it helps, the proprietary Remote SSH extension currently has an option called "use external SSH_ASKPASS" that you can toggle to enable this feature.

Thank you for your work!

biggriffon commented 4 months ago

I confirm this feature is also really important to me.