Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>SSH OpenNew to Visual Studio Code? Get it now.
SSH Open

SSH Open

tryToDEv

|
1 install
| (0) | Free
Open a selected remote folder over SSH in VS Code. Hosts from ~/.ssh/config + your own list; save named paths per host.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

SSH Open logo

SSH Open

Open a selected remote folder over SSH in VS Code — not just the home directory.


A sidebar tree lists your SSH hosts (from ~/.ssh/config and your own ssh-open.extraHosts setting). Expand a host to see its saved named paths (e.g. Web Root → /var/www/html). Click a path to open that exact remote folder in a remote VS Code window via the official Remote-SSH extension.

Features

  • Left sidebar activity-bar view, grouped by host.
  • Click host → expand/collapse. Click path → open remote folder. No accidental slow opens.
  • Add a path three ways:
    • Browse remote… — navigate the live remote directory tree over SSH.
    • Type a path… — enter an absolute path (prefilled with the host's $HOME).
    • Recent — reopen a previously opened (not-yet-saved) path.
  • Saved named paths per host, persisted across sessions.
  • Host actions (right-click): Open Home, Test Connection, Open SSH Terminal, Add Path; Edit / Remove for extra hosts.
  • Test All Connections title-bar action with status dots (● reachable / ○ unknown) — manual, never auto-blocks the tree.
  • Hosts from two sources: your real ~/.ssh/config (read-only here) and the ssh-open.extraHosts setting (editable/removable from the tree).

Requirements

  • The official Remote - SSH extension (ms-vscode-remote.remote-ssh) — declared as an extension dependency, installed automatically.
  • A local ssh client on your PATH (for Browse / $HOME resolution / connection testing).

Extension Settings

  • ssh-open.extraHosts — extra SSH hosts { name, hostName, user, port, identityFile }.
  • ssh-open.openInNewWindow — open remote folders in a new window (default true).

How it opens a remote folder

~ is resolved to an absolute path first (Remote-SSH won't expand it), then:

const uri = vscode.Uri.parse(`ssh-remote://${host.alias}${absolutePath}`);
await vscode.commands.executeCommand('vscode.openFolder', uri, openInNewWindow);

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft