Microsoft/vscode
View on GitHubGit "sync" fails when ssh config has "VisualHostKey=yes"
Open
#247,862 opened on Apr 30, 2025
buggithelp wanted
Description
Type: Bug
Steps to repro:
- On windows, create/update the ssh config file at "C:/users/[username]/.ssh/config" -> add this line at the top: "VisualHostKey=yes"
- Open a git folder that uses ssh
- make a new commit and try to "sync" git by clicking on the bottom bar sync button
- fail
When VisualHostKey is set to yes, it shows a visual representation of the host public SSH key (randomart). This additional output is probably messing up with the internal vscode git scripts
VS Code version: Code 1.99.3 (17baf841131aa23349f217ca7c570c76ee87b957, 2025-04-15T23:18:46.076Z) OS version: Windows_NT x64 10.0.26100 Modes:
| Item | Value |
|---|---|
| CPUs | 12th Gen Intel(R) Core(TM) i7-1270P (16 x 2496) |
| GPU Status | 2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabledwebnn: disabled_off |
| Load (avg) | undefined |
| Memory (System) | 31.44GB (4.02GB free) |
| Process Argv | --crash-reporter-id ce57f2be-b793-472d-b129-e0fe4dd0360d |
| Screen Reader | no |
| VM | 0% |
| Extension | Author (truncated) | Version |
|---|---|---|
| better-comments | aar | 3.0.2 |
| loremipsum | aro | 3.1.0 |
| markdown-emoji | bie | 0.3.1 |
| markdown-preview-github-styles | bie | 2.1.0 |
| gltf-vscode | ces | 2.5.1 |
| vscode-opennewinstance | chr | 0.0.15 |
| path-intellisense | chr | 2.10.0 |
| gitignore | cod | 0.10.0 |
| vscode-markdownlint | Dav | 0.59.0 |
| vscode-eslint | dba | 3.0.10 |
| vscode-hasher | dee | 1.0.1 |
| xslt-xpath | del | 1.6.6 |
| api-blueprint-viewer | dev | 0.9.4 |
| lunatic-file-picker | Dmi | 0.1.2 |
| docker | doc | 0.6.0 |
| githistory | don | 0.6.20 |
| xml | Dot | 2.5.1 |
| math-on-all-numbers | Dyl | 0.0.4 |
| vscode-html-css | ecm | 2.0.13 |
| EditorConfig | Edi | 0.17.2 |
| LogFileHighlighter | emi | 3.4.0 |
| json-tools | eri | 1.0.2 |
| prettier-vscode | esb | 11.0.0 |
| url-encode | fle | 1.1.0 |
| auto-close-tag | for | 0.5.15 |
| auto-rename-tag | for | 0.1.10 |
| vscode-github-actions | git | 0.27.1 |
| randomeverything | hel | 0.0.3 |
| reg | ion | 1.1.0 |
| apib | Jar | 0.0.2 |
| json-escaper | jos | 1.1.2 |
| base64 | m4n | 1.0.0 |
| rainbow-csv | mec | 3.19.0 |
| git-graph | mhu | 1.30.0 |
| gitignore | mic | 1.0.1 |
| ecdc | mit | 1.8.0 |
| vscode-docker | ms- | 1.29.6 |
| csdevkit | ms- | 1.18.25 |
| csharp | ms- | 2.72.34 |
| vscode-dotnet-runtime | ms- | 2.3.3 |
| vscodeintellicode-csharp | ms- | 2.2.3 |
| debugpy | ms- | 2025.6.0 |
| python | ms- | 2025.4.0 |
| vscode-pylance | ms- | 2025.4.1 |
| remote-wsl | ms- | 0.99.0 |
| hexeditor | ms- | 1.11.1 |
| powershell | ms- | 2025.0.0 |
| remote-explorer | ms- | 0.4.3 |
| remote-server | ms- | 1.5.2 |
| copy-json-path | nid | 0.4.0 |
| octo | Ora | 0.0.19 |
| vscode-auto-scroll | pej | 1.2.0 |
| material-icon-theme | PKi | 5.21.2 |
| pico8-ls | Pol | 0.5.7 |
| java | red | 1.41.1 |
| vscode-sort-json | ric | 1.20.0 |
| vscode-statusbar-json-path | ric | 2.0.0 |
| LiveServer | rit | 5.7.9 |
| auto-reload | seb | 0.0.2 |
| svg-preview | Sim | 2.8.3 |
| code-spell-checker | str | 4.0.47 |
| code-spell-checker-portuguese-brazilian | str | 2.2.3 |
| tom | 1.2.2 | |
| vscode-input-sequence | tom | 0.2.0 |
| vscode-pets | ton | 1.31.0 |
| sort-lines | Tyr | 1.12.0 |
| pico8-simple-outline | unr | 0.3.2 |
| highlight-matching-tag | vin | 0.11.0 |
| intellicode-api-usage-examples | Vis | 0.2.9 |
| vscodeintellicode | Vis | 1.3.2 |
| insertnums | vol | 0.10.1 |
| vscode-gradle | vsc | 3.16.4 |
| vscode-java-debug | vsc | 0.58.2 |
| vscode-java-dependency | vsc | 0.24.1 |
| vscode-java-pack | vsc | 0.29.0 |
| vscode-java-test | vsc | 0.43.1 |
| vscode-maven | vsc | 0.44.0 |
| volar | Vue | 2.2.10 |
| change-case | wma | 1.0.0 |
| cursor-align | yo1 | 2.1.1 |
| markdown-all-in-one | yzh | 3.6.3 |
| material-theme | zhu | 3.19.0 |
(2 theme extensions excluded)
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
2e7ec940:31000449
pythontbext0:30879054
cppperfnew:31000557
dwnewjupytercf:31046870
pythonrstrctxt:31112756
nativeloc1:31192215
5fd0e150:31155592
dwcopilot:31170013
6074i472:31201624
dwoutputs:31242946
customenabled:31248079
hdaa2157:31222309
copilot_t_ci:31222730
e5gg6876:31282496
pythoneinst12:31285622
bgtreat:31268568
4gafe986:31271826
31787653:31262186
3e8i5726:31271747
996jf627:31283433
usemplatestapi:31292913
7bj51361:31289155
747dc170:31275177
g20af354:31278749
aj953862:31281341
generatesymbolt:31292705
convertfstringf:31292704
gendocf:31292707