Repository: vscode
Issue: Git - Incomplete path when asking for SSH key
Labels: bug,git

Type: <b>Bug</b>

Hello, team!

When I'm trying to publish a git branch, VSCode asks for the SSH key, but the path that is displayed under the textbox is incomplete (see attachment) (there is a space in the path, and it misses the part after the space). 
[SSHKeyBrokenPath](https://github.com/microsoft/vscode/assets/1839739/b75b3d2f-bc5f-45eb-b7fe-d1dd2ef009c8)
Can you please fix this?

VS Code version: Code 1.85.2 (8b3775030ed1a69b13e4f4c628c612102e30a681, 2024-01-18T06:40:10.514Z)
OS version: Windows_NT x64 10.0.19045
Modes:

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|AMD Ryzen 7 5700U with Radeon Graphics          (16 x 1797)|
|GPU Status|2d_canvas: unavailable_software<br>canvas_oop_rasterization: disabled_off<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: disabled_software<br>multiple_raster_threads: enabled_on<br>opengl: disabled_off<br>rasterization: disabled_software<br>raw_draw: disabled_off_ok<br>video_decode: disabled_software<br>video_encode: disabled_software<br>vulkan: disabled_off<br>webgl: unavailable_software<br>webgl2: unavailable_software<br>webgpu: unavailable_software|
|Load (avg)|undefined|
|Memory (System)|6.84GB (1.76GB free)|
|Process Argv|--crash-reporter-id 9dcadfb4-46d9-44b2-adfc-877dd16f728a|
|Screen Reader|no|
|VM|0%|
</details><details><summary>Extensions (56)</summary>

Extension|Author (truncated)|Version
---|---|---
project-manager|ale|12.7.0
ng-template|Ang|17.1.0
gitignore|cod|0.9.0
meld-diff|dan|1.4.1
vscode-eslint|dba|2.4.4
git-extension-pack|don|0.1.3
githistory|don|0.6.20
gitlens|eam|14.7.0
EditorConfig|Edi|0.16.4
prettier-vscode|esb|10.1.0
c-cpp-runner|fra|9.4.7
kotlin|fwc|0.2.34
angular-essentials|joh|16.0.4
Angular2|joh|16.0.1
vscode-peacock|joh|4.2.2
Kotlin|mat|1.7.1
git-graph|mhu|1.30.0
vscode-docker|ms-|1.28.0
jupyter|ms-|2023.11.1100101639
jupyter-keymap|ms-|1.1.2
jupyter-renderers|ms-|1.0.17
vscode-jupyter-cell-tags|ms-|0.1.8
vscode-jupyter-powertoys|ms-|0.1.0
vscode-jupyter-slideshow|ms-|0.1.5
remote-containers|ms-|0.327.0
remote-ssh|ms-|0.107.1
remote-ssh-edit|ms-|0.86.0
remote-wsl|ms-|0.81.9
cmake-tools|ms-|1.16.32
cpptools|ms-|1.18.5
cpptools-extension-pack|ms-|1.3.0
makefile-tools|ms-|0.8.22
remote-explorer|ms-|0.4.1
veriloghdl|msh|1.13.1
vscode-react-native|msj|1.12.2
vscode-print|pdc|0.11.18
material-icon-theme|PKi|4.33.0
fabric8-analytics|red|0.9.1
java|red|1.26.0
taskrunnercode|San|0.3.0
code-spell-checker|str|3.0.1
vscode-make|tec|1.0.2
pdf|tom|1.2.2
cmake|twx|0.0.17
vscode-lldb|vad|1.10.0
intellicode-api-usage-examples|Vis|0.2.8
vscodeintellicode|Vis|1.2.30
vscode-gradle|vsc|3.13.5
vscode-java-debug|vsc|0.55.0
vscode-java-dependency|vsc|0.23.3
vscode-java-pack|vsc|0.25.15
vscode-java-test|vsc|0.40.1
vscode-maven|vsc|0.43.0
vscode-icons|vsc|12.7.0
json|Zai|2.0.2
vscode-open-in-github|ziy|1.3.6

(2 theme extensions excluded)

</details><details>
<summary>A/B Experiments</summary>

```
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:30899288
vsclangdf:30486550
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30933248
pythongtdpath:30769146
welcomedialog:30910333
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
pythontbext0:30879054
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302

```

</details>

<!-- generated by issue reporter -->