microsoft / microsoft/vscode-remote-release
Include remote host/prompt context in the SSH password input box
Nobody has claimed this yet.
- Dominant language
- Dockerfile
- Stars
- 4.2k
- Forks
- 469
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
Currently, when the Remote-SSH extension requires authentication, it triggers a generic VS Code input box says "Enter password".
However, in complex network environments involving Jump Servers (ProxyJump), Multi-Factor Authentication (MFA/OTP), or Cascading SSH connections, the user is often presented with multiple consecutive pop-ups. It is currently impossible to distinguish which stage of the connection is requesting input (e.g., "Is this the OTP for the Jump Server or the Password for the Target?").
Even in one stage the user need to remeber where this paasword comes from.
The extraction of the prompt should be very easy. when using ssh from the terminal it the last line before the user input (the password)
I think that adding this will also solve
https://github.com/microsoft/vscode-remote-release/issues/10819
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.
Research direction
Start by tracing the Remote-SSH authentication flow that opens the generic password input box and compare it with the last prompt line shown by SSH in a terminal. Done means consecutive prompts identify their remote host or prompt context, including Jump Server, MFA/OTP, and target credentials; review linked issue 10819 for related context.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- vscode
- Domain
- authentication, desktop
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100