ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

SSH Config

by michaelblyons, robballou ST2/ST3

SSH Config language and completions

Details

  • 3.1.1
    2.0.1
    1.1.3
  • github.​com
  • github.​com
  • 6 days ago
  • 2 hours ago
  • 7 years ago

Installs

  • Total 12K
  • Win 4K
  • OS X 5K
  • Linux 3K
Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22
Windows 3 0 2 3 1 0 0 1 1 0 0 2 1 0 1 1 0 1 1 1 0 2 3 3 0 3 2 0 2 2 0 2 2 0 1 0 1 0 3 2 0 0 0 1 1 3
OS X 1 1 5 1 0 0 0 2 4 3 2 0 1 5 4 4 1 1 2 1 1 1 3 0 1 3 2 2 2 1 4 4 2 1 1 3 0 1 0 1 3 1 3 1 3 2
Linux 0 1 0 2 0 0 1 3 3 3 1 2 1 0 0 2 1 2 0 0 0 1 3 1 3 0 1 0 2 2 3 1 0 0 2 1 0 0 3 1 1 2 2 2 3 1

Readme

Source
raw.​githubusercontent.​com

SSH Config Language

Provides highlighting and snippets for ~/.ssh/config and /etc/ssh/sshd_config files.

Installation

This package is available via Package Control. You can install it by searching for SSH in the “Install Package” interface or by cloning this repository in your Sublime Text “Packages” directory.

Snippets and Completions

If you do not see on-demand autocomplete, check for an auto_complete_selector line in your Syntax-specific Settings file. If it says text.ssh_config, remove the whole line. If one does not exist, you can try adding

{
    "auto_complete_selector": "source.ssh_config, source.sshd_config"
}

SSH Config

  • host: create a new Host entry
  • match: create a new Match entry
  • Keyword completion for many Linux and BSD options
  • Symbol Index for hosts and aliases (Ctrl+R or Cmd+R)

SSHD Config

  • Keyword completion for many Linux and BSD options
  • Symbol Index for active config options (Ctrl+R or Cmd+R)

Commands

  • Open SSH Config File
  • Open SSHD Config File

Extras

  • authorized_keys and known_hosts also have
    • Syntax highlighting
    • Symbol index
    • Available commands (though you have to map them yourself)

To-Do

  • Configurable file locations for the “open” commands
  • (Even) better SSHD Config syntax