Skip to content

Advanced Configuration

Mehdi edited this page Nov 27, 2026 · 2 revisions

Advanced Configuration

Advanced Configuration shows your whole SSH configuration the way OpenSSH reads it, one block at a time. Use it when the connection editor is not enough: for Host * defaults, host patterns such as Host *.lan, Match blocks, settings in files brought in with Include, or to find out why a setting you wrote is not used.

Every answer comes from OpenSSH itself (ssh -G), so what you see here is what a real connection gets.


Opening it

  • The rail: click Configuration on the rail at the left edge of the main window. The configuration replaces the tabs; your terminals keep running, and clicking Connections (or any tab) brings them back.
  • Main menu: Advanced Configuration.
  • A connection: right-click it in the sidebar and choose Advanced Configuration. It opens at that connection's block.
  • The connection editor: the Advanced Configuration row in the editor's sidebar opens it over the editor.

The block list

The sidebar lists every block of the configuration in file order:

  • Global Options: the lines above the first block, which apply to every host.
  • Host blocks: a single name (a connection), or patterns such as *.example.com.
  • Wildcard Host block: Host *.
  • Match blocks: blocks that apply when their conditions hold.

Each row says what kind of block it is. Use the search field to find blocks by name, hostname or IP address. If your configuration uses Include, you can switch to the included files from the sidebar too.

To change the order, drag a block by its grip. New Block, Duplicate Block and Delete Block are in the list as well. Order matters in SSH: for most options, the first value OpenSSH finds wins.


The title card

The card at the top shows the selected block's name, its kind and its file. For patterns, Match and wildcard blocks, Applies To lists the saved connections the block affects. Click one to jump to it.

Problems, if there are any, explains in plain sentences what is wrong and why.


Three views

Directives

The block's lines, in file order, each as a keyword and a value.

  • Edit any line in place. Esc puts a field back as it was; clicking elsewhere keeps your edit.
  • Add Option with keyword suggestions you can pick with the keyboard, or Add a Common Option from a menu.
  • Move lines with the Move Up / Move Down buttons or by dragging their grip.
  • Key and certificate lines get a Browse button and show whether the file exists and has safe permissions, with a Fix button if not.
  • A line that has no effect is struck through and says which line OpenSSH uses instead. That is usually an earlier block that sets the same option first.
  • Note adds a comment above the block.
  • A block can be switched off: it is written as comments, which OpenSSH ignores, so you can turn it back on later.

Effective

What a connection to this host actually gets: every option, its final value, and where that value comes from (this block, another block, an included file, the system-wide configuration, or OpenSSH's default). A summary at the top shows the route (jump hosts or proxy) and anything that needs attention. Filter chips narrow the list: All, Explicit (set by this block), Inherited (set elsewhere), OpenSSH default and Needs attention. A search field finds options or values.

Raw

The file as plain text, for when you prefer to type.


Saving

  • Click Save to write your changes. Undo and Redo are available: Ctrl+Z, Ctrl+Shift+Z or Ctrl+Y.
  • Before saving, SSH Pilot asks OpenSSH to read the new configuration. A configuration OpenSSH rejects cannot be saved, so a typo never breaks your SSH setup. If OpenSSH accepts it but something is off (for example a key file that does not exist), you are told and can choose Save Anyway.
  • If the file changed on disk while you were editing, you are told before anything is overwritten. Reload reads the file again.
  • Unsaved changes are kept if you switch back to Connections. A dot on the rail's Configuration button reminds you, and quitting asks about them.

Match exec blocks

A Match exec block runs a command to decide whether it applies. SSH Pilot never runs such a command behind your back: it asks first (Run and Evaluate), command by command.


Navigation

  • Following a link (for example a host under Applies To) can be undone with Back, or with Alt+Left / Alt+Right.
  • When you first open Advanced Configuration you see a short caution banner. You are editing the real SSH configuration that your other SSH tools use too. Choose Don't Show Again to hide it.

Adding a host rule

Main menu → New Host Rule… starts a new, unsaved Host block here. Give it a pattern such as *.lan to share settings across many hosts.


Related

Clone this wiki locally