Your data

Hosts and connections

Everything about saving a server in Synapse: connection details, how you sign in, trusting its key, and organising a long host list.

Adding a host

Open Manage hosts from the header's ··· menu, or the command palette (Ctrl Shift P), then Add host. Under Connection, choose a protocol and fill in:

FieldNotes
HostnameRequired. An address or hostname.
PortDefaults to 22 for SSH, 23 for Telnet.
NameOptional. Shown in the host list instead of the address.
GroupOptional. Pick an existing group or create a new one.
Terminal profileOptional. The terminal profile its sessions use, such as one with a red Production banner. "Group default" uses the group's profile; "No profile" uses your global terminal settings.
Character encodingFor older equipment that doesn't use UTF-8, such as a Shift_JIS router or a Latin-1 serial console. Absent, the host uses its profile's encoding, else UTF-8. See Character encoding.

Synapse supports SSH, Telnet and Serial connections. Telnet and Serial log in inside the terminal itself, so the Authentication section below only applies to SSH.

Authentication

For an SSH host, enter a Username and choose how to sign in:

See Vault and master password for what encrypts your saved passwords and keys, and why setting a master password matters.

Under a pasted key, the host editor shows the key's type and SHA256 fingerprint, so you can compare it with the server's ~/.ssh/authorized_keys (ssh-keygen -lf ~/.ssh/authorized_keys lists theirs), or says why the key can't be used - a wrong passphrase, or a format the built-in engine can't read. OpenSSH, PEM, PKCS#8 and PuTTY (.ppk) keys are supported; a PEM key encrypted with anything other than AES-128 can be converted with ssh-keygen -p -f <key file>.

How Synapse signs in

With the built-in engine, Synapse tries the host's saved key, then its saved password, then your SSH agent, then the default key files (~/.ssh/id_ed25519, id_ecdsa, id_rsa), and asks for a password only when none of those worked. What happens along the way is shown rather than guessed at:

A small icon next to each host's address in the sidebar shows the method it's set to; it turns amber when the host is set to a key or password but none is saved. The System OpenSSH engine doesn't report how it signed in, so those sessions show no method.

Trusting a server

The first time you connect to a host, Synapse shows the server's key type and fingerprint and asks Trust this host? before saving it to known_hosts. Check the fingerprint against what your server administrator gave you before accepting.

A changed key stops the connection

If a host presents a different key than the one saved, Synapse refuses to connect and warns you - someone could be intercepting the connection. If the server was rebuilt or its key was reissued on purpose, remove the old line from known_hosts (Synapse tells you which one) and connect again.

Groups

Give a host a Group to keep a long list tidy; the host list and the jump-host picker both show hosts grouped together. A host without a group sits ungrouped at the top.

A group can have a default terminal profile (Settings > Appearance > Terminal profiles > Group defaults): every host in it uses that profile unless the host picks its own, so putting a server in a Production group can mark all its sessions red.

Favourites and recent connections

Star a host to add it to Favourites at the top of the sidebar and the command palette: hover over it in the sidebar and click the star, right-click it, or use the star in the host editor. Favourites are part of the host, so they sync with your hosts.

The command palette also lists your Recent connections (the last eight, including quick connect addresses), and a host's tooltip and the host editor show when you last connected to it. Recent connections are kept on this computer only.

Quick connect

To connect without saving a host, type an address in the sidebar's search box or the command palette and press Enter (or use Quick connect from the palette). These forms work:

Synapse signs in with your SSH agent and default key files, then asks for a password. If the address matches a saved host, that host opens instead, with its own sign-in. Once connected, a bar under the title offers Save as host, which opens the host editor with the address and the sign-in that worked filled in. Only plain user names, host names and IP addresses are accepted, so an address can never pass options to SSH.

Local terminals

New local terminal (in the sidebar, the header, the command palette, or Ctrl Shift T) opens a shell on this computer in your home folder, with no folder to pick. The arrow next to it chooses the shell: on Windows PowerShell (PowerShell 7 when it's installed), Command Prompt, Git Bash and each installed WSL distribution, which starts in its own home folder. Set the default in Settings > Terminal > Default local shell; it's also used for local folders. Local terminals aren't reopened when Synapse starts again.

You can start a connection when you launch Synapse:

If Synapse is already running, the existing window comes to the front and opens the connection; no second window starts. To open ssh:// links from browsers and other apps in Synapse, go to Settings > Connections and choose Make Synapse the handler for ssh:// links (Windows and Linux). It's off until you choose it, because it replaces the app that opens those links now; turning it off gives them back. If Windows has another app chosen for SSH under Default apps, Settings says so, and you can pick Synapse there.

Synapse always asks before connecting from a link

A web page can contain any ssh:// link, so Synapse shows the address and asks before it connects. Links with anything beyond ssh://user@host:port (paths, options or parameters) are refused.

Advanced connection options

Expand Advanced in the host editor for a starting directory, a startup command (for example tmux attach -t main), and the Connection engine:

Advanced SSH

Switch on the Advanced SSH service (in Services) for options aimed at more complex networks:

Agent forwarding trusts the server

Anyone with root access on a server you forward your agent to can use your keys while you're connected. Only turn it on for servers you trust.

Importing and exporting

The Import and export menu next to Add host covers moving hosts in and out of Synapse:

For copies that do include the vault, and for automatic local backups, see Backups and restore.