microsoft / microsoft/vscode-remote-release

Opening Remote from the Welcome Screen "Recent" is not case sensitive

Open
#9,289 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Type: Bug

  • Setup a remote in .ssh/config with mixed casing (e.g. "AppBuilder")
  • Connect to this remote with the Remote Explorer
  • Try to connect to this remote from Welcome Screen -> Recent
  • The remote can not be reached
    The problem is caused by the ssh invocation, which is lowercasing the remotes name:

[08:10:53.832] Running script with connection command: "C:\Program Files\OpenSSH\ssh.exe" -T -D 5712 appbuilder bash

The remote can be reached from the remote explorer, as it builds the commandline with correct casing:

[08:21:18.812] Running script with connection command: "C:\Program Files\OpenSSH\ssh.exe" -T -D 1073 "AppBuilder" bash

VS Code version: Code 1.81.0 (6445d93c81ebe42c4cbd7a60712e0b17d9463e97, 2023-08-02T12:37:13.485Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Connection to 'SSH: AppBuilder' could not be established Could not resolve hostname

System Info
Item Value
CPUs 11th Gen Intel(R) Core(TM) i7-11850H @ 2.50GHz (16 x 2496)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
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
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) undefined
Memory (System) 31.48GB (13.67GB free)
Process Argv
Screen Reader no
VM 0%

Connection to 'SSH: AppBuilder' could not be established Could not resolve hostname

Extensions: none

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

Trace how the Welcome Screen's Recent action constructs the SSH connection command, and compare it with the Remote Explorer path described in the report. Reproduce the failure with a mixed-case host such as "AppBuilder"; done means both paths preserve the configured casing and connect successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
vscode
Domain
networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.