Closed
Description
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.96.3
- OS Version: macOS 15.2
Steps to Reproduce:
- My ssh config at
~/.ssh/config
contains a number of host entries with names like the following:
Host server-01
HostName 10.35.135.15
- In VSCode, choose Connect to Host. The list of remote hosts correctly displays the hostnames rather than IPs (as always).
- Choose a host (e.g.
server-01
), then suddenly it asks me the remote OS platform (linux, macOS, windows) of the IP (10.35.135.15) rather than the hostnameserver-01
. This is not ordinary becauseserver-01
is already configured inremote.SSH.remotePlatform
insettings.json
. I chooselinux
here. - Then the connection is established to the
IP
. All places that previously displayed the hostname now shows the IP (status bar, title bar, etc.), which is quite annoying when I have many VSCode windows open since I cannot tell which I should switch to by looking at the IP.
This happens just suddenly and I'm not sure if I'm missing something.
Metadata
Metadata
Assignees
Labels
No labels
Activity
Kaauw commentedon Jan 16, 2025
I confirm the issue on my setup
vscode : 1.96.3
windows 11 24H2
In addition, when having an ssh key, vscode doesn't use it and ask for the password instead. It doesn't have a look into the user/.ssh/config
renkun-ken commentedon Jan 16, 2025
Looks like this has been fixed in 1.96.4. Thanks!