Repository: vscode
Issue: Git - No prompt for SSH passphrase using remote-ssh
Labels: bug,git,ssh

Type: <b>Bug</b>

Connecting to a linux host from windows using remote-ssh.  When I try to push/pull from VSCode, it doesn't work.  I have a passphrase on my key and I don't get prompted for it, instead I get and an error with the following in the Git output window.
``` 
Access is not allowed because you are not enrolled in Duo. Please contact your organization's IT help desk.

Access is not allowed because you are not enrolled in Duo. Please contact your organization's IT help desk.

Access is not allowed because you are not enrolled in Duo. Please contact your organization's IT help desk.

Permission denied (publickey,gssapi-keyex,gssapi-with-mic,keyboard-interactive).
fatal: Could not read from remote repository.
```
However I can push/pull from the terminal with the same key just fine.

VS Code version: Code 1.73.0 (8fa188b2b301d36553cbc9ce1b0a146ccb93351f, 2022-11-01T15:34:06.111Z)
OS version: Windows_NT x64 10.0.19044
Modes:
Sandboxed: No
Connection to 'ssh-remote+spiderman' could not be established
Remote OS version: Linux x64 3.10.0-1160.31.1.el7.x86_64
Remote OS version: Linux x64 5.4.0-120-generic

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) i7-9850H CPU @ 2.60GHz (12 x 2592)|
|GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: disabled_off<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>opengl: enabled_on<br>rasterization: enabled<br>raw_draw: disabled_off_ok<br>skia_renderer: enabled_on<br>video_decode: enabled<br>video_encode: enabled<br>vulkan: disabled_off<br>webgl: enabled<br>webgl2: enabled<br>webgpu: disabled_off|
|Load (avg)|undefined|
|Memory (System)|31.76GB (13.97GB free)|
|Process Argv||
|Screen Reader|no|
|VM|0%|

Connection to 'ssh-remote+spiderman' could not be established

|Item|Value|
|---|---|
|Remote|SSH: spiderman|
|OS|Linux x64 3.10.0-1160.31.1.el7.x86_64|
|CPUs|Intel(R) Xeon(R) Gold 6240 CPU @ 2.60GHz (4 x 2593)|
|Memory (System)|15.51GB (13.68GB free)|
|VM|100%|

|Item|Value|
|---|---|
|Remote|SSH: widow|
|OS|Linux x64 5.4.0-120-generic|
|CPUs|Intel(R) Xeon(R) Gold 5215 CPU @ 2.50GHz (40 x 1000)|
|Memory (System)|62.54GB (33.44GB free)|
|VM|0%|
</details><details><summary>Extensions (35)</summary>

Extension|Author (truncated)|Version
---|---|---
separators|ale|2.4.1
vscode-eclipse-keybindings|alp|0.16.1
systemd-unit-file|coo|1.0.6
output-colorizer|IBM|0.1.2
better-cpp-syntax|jef|1.16.3
vscode-peacock|joh|4.2.2
dotenv|mik|1.0.1
jupyter-keymap|ms-|1.0.0
remote-ssh|ms-|0.92.0
remote-ssh-edit|ms-|0.84.0
remote-wsl|ms-|0.72.0
remote-explorer|ms-|0.0.2
rewrap|stk|1.16.3
reopenclosedtab|uyi|1.1.0
vscode-icons|vsc|12.0.1
vim|vsc|1.24.3
vscode-todo-highlight|way|1.0.5
githistory|don|0.6.19
gitlens|eam|13.0.4
jenkinsfile-support|ivo|1.1.0
vscode-smart-column-indenter|lmc|0.0.13
git-graph|mhu|1.30.0
vscode-docker|ms-|1.22.2
isort|ms-|2022.6.0
python|ms-|2022.18.2
vscode-pylance|ms-|2022.11.20
jupyter|ms-|2022.9.1202862440
jupyter-keymap|ms-|1.0.0
jupyter-renderers|ms-|1.0.12
vscode-jupyter-cell-tags|ms-|0.1.6
vscode-jupyter-slideshow|ms-|0.1.5
ansible|red|1.0.90
vscode-yaml|red|1.10.1
code-spell-checker|str|2.11.0
gitblame|wad|9.0.1

(2 theme extensions excluded)

</details>
<!-- generated by issue reporter -->