ssh sessions to multiple remote hosts with synced view

Open
#322,765 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Quiet
Tech stack
typescript
Domain
devtools

Research direction

No implementation files, tests, or entry points are identified in the issue. Start by reading issue #200524 about grouping remote hosts, then define the scope around grouped local and remote folders, difference handling, binary exclusions, test-gated syncing, and manual or automatic pushes.

Written by the indexing model from the issue text.

Description

I have a cluster of remote servers and I sometimes want to edit the same file on all servers. The current option is to edit the file locally and scp the local copy to each server. This is usually for files which are not committed to a git repository, such as environment files with sensitive data but it could also apply if I want to push the output of a frontend build to a set of servers.

It might be a cool feature if I can open a local folder and the same folder on a set of remote hosts and if they are all identical then show a single view so that an edit to one of the local files is copied automatically to all hosts in the set.

If there are any differences these could be highlighted in some way and click to compare as in the Source Control view. Binary files would be excluded from the diff check. A nice addition would be a flag that all tests must pass before the local file is copied to all remote hosts in the set and/or a button to push the changed file to the hosts in the set if auto sync is not enabled.

Issue #200524 discusses grouping remote hosts which would be useful for this feature.

The paths on the local host and the remote hosts may differ so in grouping the remote hosts a path to the remote folder could be defined for all hosts in the group.

Dominant language
TypeScript
Stars
193k
Forks
42.9k
PR merge metrics
PR metrics pending

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.

More from microsoft/vscode

All issues in microsoft/vscode

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.