vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Feature Request: Sync SSH configurations across devices via Settings Sync

Open iwangbowen opened this issue 7 months ago • 0 comments

Type: Feature Request

Feature Request: Sync SSH configurations across devices via Settings Sync

Problem

Currently, SSH configurations for Remote Explorer are stored in the local SSH config file (~/.ssh/config or equivalent). While VS Code has robust Settings Sync functionality for extensions, snippets, and other settings, SSH configurations are not included in this synchronization mechanism.

Feature Request

Add support to include SSH connection configurations in VS Code's Settings Sync feature. This would allow users to maintain consistent SSH connection profiles across multiple devices without manually copying or synchronizing the SSH config file.

Use Case

As a developer working across multiple machines (work computer, home computer, laptop), I need my remote SSH connections to be consistent. Currently, I have to manually update the SSH config on each device when I add a new connection or modify an existing one.

Suggested Implementation

  • Either sync the actual SSH config file contents
  • Or create a VS Code-specific SSH connection manager that stores configurations in a format that can be synchronized via Settings Sync
  • Ensure appropriate security measures for handling credentials

Benefits

  • Improved developer experience with consistent remote development environments
  • Reduced friction when switching between devices
  • Aligned with VS Code's existing philosophy of cloud settings synchronization

VS Code version: Code - Insiders 1.101.0-insider (496ebc4723371f29c9ffa0319dcccb2d7bee7ee0, 2025-05-21T05:04:29.987Z) OS version: Windows_NT x64 10.0.26100 Modes:

iwangbowen avatar May 21 '25 10:05 iwangbowen