Similar issue:
I gave passphrase
when Git-cloned using SSH URL
for git.
So this error now shows up, each time I opened VS Code
on Windows 10
Below fixed the issue:
1 . Run the below command in CMD
setx SSH_ASKPASS "C:\Program Files\Git\mingw64\libexec\git-core\git-gui--askpass"
setx DISPLAY needs-to-be-defined
2 . Exit CMD & VS Code
3 . Reopen VS Code
4 . VS Code now shows a popup dialog where we can enter passpharse
Above commands are for Windows OS, similar instructions will work for Linux/MAC.