Terminal prompt for SSH passphrase auto-submits input when terminal is focused after prompt appears
@anthonykim1 is already working on this.
Since Jun 22, 2026.
Assessment
This issue has not been assessed yet.
Description
Type: Bug
Quando uma ação do agente/Copilot dispara um comando Git que pede passphrase SSH, se eu abrir/focar o terminal somente depois que o prompt já apareceu, a entrada é enviada automaticamente antes de eu terminar de digitar.
Se eu deixo o terminal aberto/focado antes do prompt aparecer, a digitação funciona normalmente.
Passos para reproduzir
Iniciar uma ação via agente/Copilot que execute git commit e peça passphrase SSH.
Não deixar o terminal aberto/focado antes do prompt.
Quando aparecer Enter passphrase for "...id_ed25519", abrir/focar o terminal manualmente.
Tentar digitar a passphrase.
Comportamento atual
A entrada é auto-enviada cedo demais (não consigo digitar a passphrase completa normalmente), causando falha de autenticação em algumas tentativas.
Comportamento esperado
O terminal deve aguardar a digitação completa da passphrase e só enviar quando eu confirmar manualmente com Enter.
Condição comparativa importante
Falha: terminal aberto/focado depois do prompt já visível.
Funciona: terminal aberto/focado antes do prompt aparecer.
Frequência
Intermitente/recorrente, principalmente em fluxos com agente executando git commit assinado por chave SSH.
Impacto
Interrompe fluxo de commits no agente e exige repetição manual do comando.
Ambiente
OS: Windows
VS Code: preencher versão
Extensão GitHub Copilot Chat: preencher versão
Shell: PowerShell integrado
Chave SSH com passphrase: id_ed25519
Workaround atual
Abrir/focar o terminal antes do comando chegar ao prompt de passphrase.
VS Code version: Code 1.124.2 (6928394f91b684055b873eecb8bc281365131f1c, 2026-06-12T00:12:36Z)
OS version: Windows_NT x64 10.0.26200
Modes:
System Info
| Item | Value |
|---|---|
| CPUs | 11th Gen Intel(R) Core(TM) i5-1145G7 @ 2.60GHz (8 x 1498) |
| GPU Status | 2d_canvas: enabled GPU0: VENDOR= 0x8086, DEVICE=0x9a49 [Intel(R) Iris(R) Xe Graphics], DRIVER_VENDOR=Intel, DRIVER_VERSION=32.0.101.7080 ACTIVE GPU1: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.8521 Machine model name: Machine model version: direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_graphite: disabled_off trees_in_viz: disabled_off video_decode: enabled video_encode: enabled webgl: enabled webgpu: enabled webnn: disabled_off |
| Load (avg) | undefined |
| Memory (System) | 15.74GB (0.77GB free) |
| Process Argv | --crash-reporter-id 712d0320-7b38-4d46-a8a1-87972fc38034 |
| Screen Reader | no |
| VM | 0% |
Extensions (51)
| Name | Identifier | Author | Version |
|---|---|---|---|
| ESLint | dbaeumer.vscode-eslint | dbaeumer | 3.0.24 |
| Docker DX | docker.docker | docker | 0.18.0 |
| learn-yaml | docsmsft.docs-yaml | docsmsft | 1.0.6 |
| Redis | dunn.redis | Dunn | 1.4.0 |
| GitLens — Git supercharged | eamodio.gitlens | eamodio | 18.2.0 |
| EditorConfig | editorconfig.editorconfig | EditorConfig | 0.18.2 |
| Jest / Vitest Runner | firsttris.vscode-jest-runner | firsttris | 0.4.148 |
| Terminal Renamer Skill Mini Design | fuyuki.terminal-renamer-skill-mini-design | fuyuki | 0.0.3 |
| Go | golang.go | golang | 0.54.0 |
| GraphQL: Language Feature Support | graphql.vscode-graphql | GraphQL | 0.13.4 |
| GraphQL: Syntax Highlighting | graphql.vscode-graphql-syntax | GraphQL | 1.3.10 |
| Test Explorer UI | hbenl.vscode-test-explorer | hbenl | 2.22.1 |
| Container Tools | ms-azuretools.vscode-containers | ms-azuretools | 2.4.5 |
| C# Dev Kit | ms-dotnettools.csdevkit | ms-dotnettools | 3.20.199 |
| C# | ms-dotnettools.csharp | ms-dotnettools | 2.140.9 |
| .NET MAUI | ms-dotnettools.dotnet-maui | ms-dotnettools | 1.15.41 |
| GitHub Copilot modernization for .NET | ms-dotnettools.vscode-dotnet-modernize | ms-dotnettools | 1.0.1157 |
| .NET Install Tool | ms-dotnettools.vscode-dotnet-runtime | ms-dotnettools | 3.1.0 |
| Python Debugger | ms-python.debugpy | ms-python | 2026.6.0 |
| Python | ms-python.python | ms-python | 2026.4.0 |
| Pylance | ms-python.vscode-pylance | ms-python | 2026.2.1 |
| Python Environments | ms-python.vscode-python-envs | ms-python | 1.36.0 |
| Dev Containers | ms-vscode-remote.remote-containers | ms-vscode-remote | 0.459.1 |
| Remote - SSH | ms-vscode-remote.remote-ssh | ms-vscode-remote | 0.124.0 |
| Remote - SSH: Editing Configuration Files | ms-vscode-remote.remote-ssh-edit | ms-vscode-remote | 0.87.0 |
| WSL | ms-vscode-remote.remote-wsl | ms-vscode-remote | 0.104.3 |
| Remote Development | ms-vscode-remote.vscode-remote-extensionpack | ms-vscode-remote | 0.26.0 |
| Remote Explorer | ms-vscode.remote-explorer | ms-vscode | 0.5.0 |
| Remote - Tunnels | ms-vscode.remote-server | ms-vscode | 1.5.3 |
| Test Adapter Converter | ms-vscode.test-adapter-converter | ms-vscode | 0.2.1 |
| UUID Generator | netcorext.uuid-generator | netcorext | 0.0.5 |
| JSON Parse & Stringify | nextfaze.json-parse-stringify | nextfaze | 1.0.2 |
| Jest | orta.vscode-jest | Orta | 6.4.4 |
| Language Support for Java(TM) by Red Hat | redhat.java | redhat | 1.54.0 |
| YAML | redhat.vscode-yaml | redhat | 1.23.0 |
| Live Server | ritwickdey.liveserver | ritwickdey | 5.7.10 |
| Todo List | saber2pr.todolist | saber2pr | 0.2.222 |
| CopyAsJsonToClipboard | toreaurstad.copyasjsontoclipboard | toreaurstad | 0.0.2 |
| CMake | twxs.cmake | twxs | 0.0.17 |
| Spring Boot Extension Pack | vmware.vscode-boot-dev-pack | vmware | 0.2.2 |
| Spring Boot Tools | vmware.vscode-spring-boot | vmware | 2.2.0 |
| GitHub Copilot modernization | vscjava.migrate-java-to-azure | vscjava | 1.21.0 |
| Gradle for Java | vscjava.vscode-gradle | vscjava | 3.17.3 |
| Debugger for Java | vscjava.vscode-java-debug | vscjava | 0.59.0 |
| Project Manager for Java | vscjava.vscode-java-dependency | vscjava | 0.27.5 |
| Extension Pack for Java | vscjava.vscode-java-pack | vscjava | 0.31.1 |
| Test Runner for Java | vscjava.vscode-java-test | vscjava | 0.45.0 |
| Maven for Java | vscjava.vscode-maven | vscjava | 0.45.3 |
| Spring Boot Dashboard | vscjava.vscode-spring-boot-dashboard | vscjava | 0.14.0 |
| Spring Initializr Java Support | vscjava.vscode-spring-initializr | vscjava | 0.12.0 |
| Import Cost | wix.vscode-import-cost | wix | 3.3.0 |
A/B Experiments
vsliv368cf:30146710
pythonvspyt551:31249599
binariesv615:30325510
9b8hh234:30694863
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
6abeh943:31336334
envsactivate1:31505457
cloudbuttont:31379625
3efgi100_wstrepl:31403338
839jf696:31457053
ec5jj548:31422691
cp_cls_t_966_ss:31526232
4je02754:31466945
c3h7c220:31478652
ge8j1254_inline_auto_hint_haiku:31490510
38bie571_auto:31478677
cp_cls_c_1081:31454833
conptydll_true:31498968
ia-use-proxy-models-svc:31452481
e9c30283:31461165
test_control1:31471004
46204921:31447328
idci7584:31464702
e3e4d672:31494082
ei9d7968:31496641
nes-extended-on:31455476
chat:31457767
8hig5102:31480529
89g7j272:31518289
7e187181:31503455
i2gc6536:31499202
52612955:31516516
ghj88844:31499326
h08i8180:31475369
ec1eg703:31520046
ddid_t:31478206
hmra_i5g22:31518061
7df3h592:31512476
cp_cls_t_1082:31535311
logging_enabled_new:31498466
db5d2638:31499441
jb_cp_cls_t_632:31537244
56dj4588:31512888
32d76977:31512328
ha629193:31508444
cdk-lw-on:31524445
2cfga817_c:31522397
tco_on:31528579
g4a0e106:31529594
jbcp_cls_pctr_t:31531130
61138546:31518536
cp_intellij_c_nes:31533503
gf14b233:31526830
nes-curr-leftover-2000:31530974
h561g132:31533256
sessions_3:31532893
chatquotatrajectorynudge-control:31537002
ihg5j128:31534457
- Dominant language
- TypeScript
- Stars
- 193k
- Forks
- 42.9k
- PR merge metrics
- PR metrics pending
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/vscode
-
testplan-item
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
new release
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
testplan-item
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
testplan-item
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
All issues in microsoft/vscode
Similar issues
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 76/100
-
code-quality refactoring
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
vercel/react-tweet#225 ·