Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>SSH Config All In OneNew to Visual Studio Code? Get it now.
SSH Config All In One

SSH Config All In One

HNRobert

|
7 installs
| (2) | Free
Enhanced SSH config editing, providing autocompletion, formatting, hover support, and Quick Connect actions to ms-vscode-remote.remote-ssh.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

SSH Config All-In-One

Visual Studio Marketplace GitHub Apache License Open Issues Closed Issues

Enhanced SSH Config Language Server extension for Visual Studio Code. Provides autocompletion, syntax highlighting, formatting, go to include file definitions, hover support, and quick connection actions for SSH config directives.

Features

  • Quick Connect CodeLens: Provides "Connect in Current Window..." and "Connect in New Window..." inline buttons above each Host declaration. Seamlessly connects to the server using the official ms-vscode-remote.remote-ssh extension.
    • demo of quick connect code lens
  • Universal Formatter: Formats your SSH config regardless of where it's opened (local, remote workspace, or even unsaved untitled files).
  • Autocompletion: Provides rich suggestions as you type in an SSH config file.
  • Syntax Highlighting: Enhanced and refined syntax grammar.
  • Hover Support: Hover over any keyword to see a brief description of its function.
  • Go To Definition: Supports clicking through Include statements.
  • Customizable Formatting: Automatically indent directives under Host and Match blocks. Controlled via the sshConfigAllInOne.format.indentSize setting.

Formatting Example

Before:

Host example
HostName ssh.example.com
User admin
Port 22
IdentityFile ~/.ssh/mykey

After (using default 2 spaces):

Host example
  HostName ssh.example.com
  User admin
  Port 22
  IdentityFile ~/.ssh/mykey

Settings

  • sshConfigAllInOne.format.indentSize: The number of spaces used for indentation when formatting Host and Match blocks. (Default: 2)

Acknowledgements

This project is deeply based on the fantastic work by jamief on vscode-ssh-config-enhanced. Thanks for providing the original repository and all of its underlying core language features.

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