microsoft / microsoft/vscode-remote-release

Rename "Add New SSH Host..."

Open
#10,221 6 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

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

Description

In the "Remote-SSH: Connect to Host..." dialog, I'd like to suggest/request that the "Add New SSH Host..." option is renamed.

We recently had to change which node of a cluster we log into from node_a to node_b. To connect to node_b, 100% of VS Code users (including myself 🙃) clicked "Add New SSH Host..." and entered node_b. This causes VSC to add the useless lines

Host node_b
    HostName node_b

to the top of ~/.ssh/config, which breaks the existing config. Now users can't even SSH into node_b from the terminal, which was working before attempting to connect using VSC.

Users were all surprised to learn you could simply type node_b into the "Connect to Host..." dialog, and that this was not considered "adding a new host".

I think this confusion would be resolved if the dialog included a line like "Enter hostname" and a separate line named "Add new host to .ssh/config". The latter would have the functionality that's currently under "Add New SSH Host..."

Thank you!

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.