microsoft / microsoft/vscode-remote-release
UI doesn't show Windows username domain
Nobody has claimed this yet.
- Dominant language
- Dockerfile
- Stars
- 4.2k
- Forks
- 469
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
Type: Bug
When logging you don't provide a username to SSH on Windows, it will default to a username that includes the account domain such as:
PS C:\Users\foxt> ssh 1.2.3.4
domain\foxt@1.2.3.4's password:
However, if you use the VS Code remote SSH extension, and try to do the same (log in to a remote machine without specifying), you will get a prompt that looks like: Enter password for foxt@1.2.3.4, even though it is using the full domain\foxt username to connect (which you can see if you click 'Details' on the 'Setting up SSH Host' notification, or check the logs on the remote server), so, no matter how many times you input the correct password, it will give you an authentication failed error.
Extension version: 0.120.0
VS Code version: Code 1.103.2 (6f17636121051a53c88d3e605c491d22af2ba755, 2025-08-20T16:45:34.255Z)
OS version: Windows_NT x64 10.0.26100
Modes:
Connection to 'SSH' could not be established Connecting was canceled
Remote OS version: Linux arm64 6.12.25+rpt-rpi-v8
System Info
| Item | Value |
|---|---|
| CPUs | AMD Ryzen 7 9800X3D 8-Core Processor (16 x 4700) |
| GPU Status | 2d_canvas: enabled 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 vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: enabled webnn: disabled_off |
| Load (avg) | undefined |
| Memory (System) | 47.16GB (31.13GB free) |
| Process Argv | |
| Screen Reader | no |
| VM | 40% |
Connection to 'SSH' could not be established Connecting was canceled
| Item | Value |
|---|---|
| Remote | SSH: 192.168.3.11 |
| OS | Linux arm64 6.12.25+rpt-rpi-v8 |
| CPUs | Cortex-A72 (4 x 1500) |
| Memory (System) | 3.70GB (2.97GB free) |
| VM | 0% |
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 reproducing the Remote-SSH connection on Windows without specifying a username, then inspect the “Setting up SSH Host” Details or remote logs mentioned in the report. Done means the password prompt displays the full domain\username used for authentication and the connection succeeds with the correct password.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- vscode
- Domain
- authentication
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100