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

Password is prompted twice when sshd requests keyboard-interactive auth #389

Open d41k4n opened 1 year ago

d41k4n commented 1 year ago

Using v1.26.1 when connecting to instances of sshd that request keyboard-interactive authentication (instead of password authentication) I get prompted twice for a password.

e.g.

2023-05-25_082336

2023-05-25_082359

It doesn't matter what I enter with the first prompt (I can also hit ESC or ENTER) - only the second prompt matters (Vault Password in this case).

FYI: Using a standard ssh client with identical user and host I get only prompted once with Vault Password:.

My current workaround is to provide a dummy password in the config e.g. password: "none".

Would be great if this could be improved so it works OOTB e.g. with default config property password: true.