microsoft / microsoft/vscode-remote-release

2nd factor prompt not shown

Open
#11,182 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

ssh
Dominant language
Dockerfile
Stars
4.2k
Forks
469
Avg merge
1d 1h
Merged PRs (30d)
1

Description

Type: Bug

I'm connecting to a system that uses 2-factor authentication - password followed by a one-time password from an authenticator app. After typing in the password, I don't get a prompt for the 2nd factor. If I click on "details" in the "Setting up SSH Host" message in the bottom right corner, it opens a terminal where I can see the prompt and type in the one-time password.

However, this install terminal persists after connecting, commands can't be typed into it so it's useless, and killing it closes the connection (I submitted a separate issue about that: #11181 ), so it would be nice to just get a prompt for the second factor that doesn't end up showing this space-wasting install terminal, as for the password.

Extension version: 0.26.0
VS Code version: Code 1.103.2 (6f17636121051a53c88d3e605c491d22af2ba755, 2025-08-20T16:45:34.255Z)
OS version: Windows_NT x64 10.0.26100
Modes:
Remote OS version: Linux x64 5.14.0-570.30.1.el9_6.x86_64

A/B Experiments
vsliv368:30146709
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
7bh79656:31259953
996jf627:31283433
pythonrdcb7:31342333
usemplatestapi:31297334
747dc170:31275177
aj953862:31281341
nesew2to5:31336538
agentclaude:31350858
nes-set-on:31351930
6abeh943:31336334
0927b901:31350571
ji9b5146:31348712
custommodel2t:31371781
45650338:31358607
0cj2b977:31352657
justeven_python:31371804
gaj49834:31362110
pylancealldocst:31371774
cloudbuttonc:31374191
retryenabled:31370050
3efgi100_wstrepl:31374188

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce an SSH connection using password followed by a one-time password, then inspect the "Setting up SSH Host" flow and its details terminal. Confirm where the second-factor prompt is handled and that the connection completes without leaving a useless terminal open; the issue provides no source file or test entry point.

Written by the indexing model from the issue text.

Assessment

Tech stack
vscode
Domain
authentication, developer-experience, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.