Skip to content
oipoistarPublic

About

The SSH client that gets out of your way. Every server you look after in one calm, fast window: SFTP, port forwarding, jump hosts, sync through your own folder. Free and open source, no account.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

Tern

The SSH client that gets out of your way.

Every server you look after, in one calm, fast window.
Free and open source. No account, no Tern cloud:
your hosts, your keys, your storage.

Get Tern  ·  Tour  ·  Features  ·  Your data  ·  Roadmap

Tern's vault of hosts, each with a live latency trace and its host key's art, with a terminal session laid over it

Get Tern

Download Tern for Windows: one file, nothing to install. Keep it wherever you like and run it. Your hosts and settings live in your user profile, so a newer download picks up where you left off.

The first time, Windows may say it protected your PC, as Tern isn't signed yet: choose More info, then Run anyway. Every version is on the releases page.

macOS and Linux builds are on their way. Until then, Tern builds from source on both; DEVELOPMENT.md says how.

Native and quick

Written in Rust and drawn on the GPU. Opens in about a quarter of a second and stays smooth through floods of output.

Yours alone

No sign-up and no Tern servers. Passwords stay in your system's keychain, and sync is encrypted on your device before it reaches a folder you already own.

Made for real fleets

Jump hosts, proxies, certificates, port forwarding, SFTP, containers, kept shells: what the job actually asks for.

A quick tour

Every server at a glance

Your hosts live in a vault of cards. Each one draws its own heartbeat, a trace of how fast it answered over the last minutes, so a slow or silent server stands out before you connect. Its host key appears as a picture you'll learn to recognise, and every card is one click, or Enter, from a session. Type ssh deploy@10.0.4.21 into the search to reach anything, saved or not.

The vault: hosts in groups, with tags, latency traces and key art, and the selected host's panel

A terminal that keeps up

Tabs, colour schemes, find, links and the mouse in vim, htop and tmux, with output that flows without a stutter. Add two lines to your shell and Tern marks every command, a ring when it worked and a dot when it failed, jumps between them and copies a single command's output. Images show right in the terminal. On a slow link, what you type appears at once, before the server echoes it, and never when it's a password.

A session with git log, docker ps, an inline chart, command marks in the margin and the host's load, memory and disk in the toolbar

Four panes, one keystroke

Split a tab into up to four sessions, side by side or in a grid. Broadcast sends what you type to all of them, while a host you've marked as guarded stays out unless you let it in.

Four sessions in a grid with Broadcast on, each running the same upgrade

Files right beside your shell

Browse, upload, download, rename and change permissions in a panel next to the terminal. It follows your shell as you cd, and a click takes the shell to the folder you're looking at. Open a remote file in your own editor: every save goes straight back to the server.

The Files panel showing the shell's current folder on the server, beside the session

Everything a few letters away

Press Ctrl+Shift+P and type: hosts, open tabs, snippets and screens all come up as you go.

The command palette finding web hosts

Set a host up once

Keys, the SSH agent or a password kept in your system's credential store. Jump hosts, proxies, environment variables, a command to run after login, Wake-on-LAN and notes. Mark a host as guarded, and pastes and snippets wait for your yes before they reach it.

The host editor for a guarded database server

Trust you can see

Every host key Tern trusts shows as its fingerprint art, whether it's in your ~/.ssh/known_hosts or Tern's own list. On Linux and macOS, hosts you trust in Tern are added to ~/.ssh/known_hosts, so ssh in a terminal knows them too. A key that changes stops the connection and names the exact line to check.

Known hosts, each key with its art and fingerprint

Make it yours

Light and dark, ten colour schemes, your font, size and cursor.

Terminal settings with the colour schemes

Sync without an account

The vault switcher with Personal, Acme Corp and Homelab

Point Tern at a folder that Google Drive, Dropbox, OneDrive, iCloud Drive or Nextcloud already keeps in step. Each computer writes its own file there, encrypted with your passphrase before it leaves the device, so sync clients never fight over a file and the cloud never sees your hosts.

Keep work and home apart with more than one vault. Each has its own hosts, snippets and history, and syncs to its own folder with its own passphrase.


And all the little things

Connecting

  • Quick connect from a typed ssh command (-p, -l and -i understood)
  • Keys, the SSH agent (OpenSSH's or Pageant), passwords and one-time codes; OpenSSH certificates
  • Jump hosts chained as deep as you need; SOCKS5 and HTTP proxies
  • Reconnects by itself after a dropped connection, and kept shells (tmux or screen) carry on where you left them
  • Port forwarding (-L, -R, -D), with or without a terminal open; ports a server starts listening on are offered, forwarded in a click
  • A shell inside any of the host's Docker or Podman containers
  • Run when it's back: queue a command for a host that's down, and it runs the moment the host answers
  • Wake-on-LAN for machines that sleep
  • Local terminal tabs for this computer's own shell
  • AI agents (Claude Code, Claude Desktop, any MCP client) can drive it, in tabs you watch

Organising

  • Groups, tags and filters; cards or a compact list
  • Groups that fill themselves from a command, such as your cloud's inventory
  • Snippets with {{variables}}, run in one session or on several hosts at once
  • History of every connection, and the tabs you had open come back at the next start
  • Import from PuTTY (its .ppk keys sign in through Pageant) and from ~/.ssh/config; copy any host as an ssh command or a config block
  • Identities: one user and sign-in shared by many hosts

In the terminal

  • Find in the scrollback, clickable links, font zoom
  • Record a session and play it back (asciicast)
  • The host's load, memory and disk, drawn live in the toolbar
  • Tabs mark unseen output, bells and long commands that finished while you were elsewhere
  • Full screen, and a theater mode that shows nothing but the terminal
  • Drag a tab out of the window and it carries on in a window of its own

Staying safe

  • Pasting several lines into a shell that would run them asks first, and a paste can't smuggle in control characters
  • Guarded hosts for the machines you can't afford to fumble
  • Files from a server that your computer would run, such as scripts, open as text when you edit them
  • Links a server prints can't open programs or file shares on your computer

How Tern compares

Tern vs PuTTY Tern vs Termius Tern vs MobaXterm
  • Tabs, with up to four sessions side by side in each; PuTTY opens a window per session
  • A vault of hosts with groups, tags and search
  • Find in the scrollback
  • Reconnects by itself after a dropped connection
  • A Files panel beside the shell, and remote files edited in your own editor
  • Uses your OpenSSH keys and ~/.ssh/known_hosts as they are, with no .ppk conversion
  • Can keep a password in Windows Credential Manager; PuTTY never saves passwords
  • Encrypted sync between your computers
  • No account, ever; Termius asks you to sign in or create one at first launch
  • Sync with no account or subscription, through a folder you already sync, encrypted on your computer
  • Free and open source; Termius is closed source
  • Native: written in Rust and drawn on the GPU, where Termius's desktop app is built on Electron
  • AI agents (Claude Code, any MCP client) can drive it, in tabs you watch
  • Each host's latency over the last minutes, and its host key as art
  • Wake-on-LAN for machines that sleep
  • Free and open source, with no caps; the Home Edition stops at 12 sessions, 2 SSH tunnels and 4 macros
  • MIT licence: roll it out across a company, or change it; the Home Edition's licence allows neither
  • Encrypted sync of hosts, snippets and settings between your computers
  • Imports hosts from ~/.ssh/config
  • AI agents (Claude Code, any MCP client) can drive it, in tabs you watch
  • Each host's latency over the last minutes, and its host key as art
  • Records a session and plays it back in a tab

Checked against PuTTY 0.85, Termius 10.2 and MobaXterm 26.6 in October 2026.

Shell integration (optional)

With two lines in ~/.bashrc, the shell tells Tern where each command starts and ends and which folder it's in, the way iTerm2, WezTerm and Windows Terminal read it. That's what lights up command marks and keeps the Files panel in step:

PS0='\e]133;C\a'
PS1='\[\e]133;D;$?\a\e]133;A\a\e]7;file://$HOSTNAME$PWD\a\]'"$PS1"'\[\e]133;B\a\]'

Let an agent drive Tern (optional)

Tern can be driven by an AI agent such as Claude Code or Claude Desktop, through the Model Context Protocol (MCP). Switch on MCP server in Settings, under General, and give your agent the command shown there:

claude mcp add tern -- "C:\path\to\Tern-windows-x64.exe" --mcp

Apps that take a JSON config want the same command:

{
  "mcpServers": {
    "tern": { "command": "C:\\path\\to\\Tern-windows-x64.exe", "args": ["--mcp"] }
  }
}

The agent then works in the Tern you have open, in tabs you can watch: it lists your hosts and adds, changes or removes them, opens sessions (to a saved host, any user@host, or a local shell), types commands and reads what they print, reads the whole screen of programs like top or vim, and answers what a server asks before the shell starts, as you would at the keyboard. If Tern isn't running, the agent starts it.

  • An agent's typing into a guarded host's session waits for your yes in Tern, however the agent reaches the host. Only you can change or remove a guarded host.
  • Only you trust a server's key, let a host use your SSH agent, or change where such a host connects. An agent can refuse a key, never accept one.
  • Agents get in only through that command, only from this computer, and only while the switch is on.

Keyboard

Windows and Linux macOS
Command palette Ctrl+Shift+P Cmd+Shift+P
New local terminal Ctrl+Shift+T Cmd+T
Next and previous tab Ctrl+Tab, Ctrl+Shift+Tab the same
Close a tab, or the others middle-click it, right-click for more the same
Full screen F11 Ctrl+Cmd+F
Theater mode: the terminal alone Shift+F11 the same
Copy and paste Ctrl+Shift+C, Ctrl+Shift+V or Shift+Insert (on Windows Ctrl+V pastes too) Cmd+C, Cmd+V
Find in the terminal Ctrl+Shift+F Cmd+F
Previous and next command Ctrl+Shift+↑, ↓ Cmd+Shift+↑, ↓
Bigger, smaller, reset font Ctrl+=, Ctrl+-, Ctrl+0 Cmd+=, Cmd+-, Cmd+0
Open a link Ctrl+click Cmd+click
In the vault: move, connect, edit arrows, Enter, E the same

Your data stays yours

  • No accounts, no Tern servers, no telemetry. Tern talks to your servers, and to the sync folder you choose.
  • Passwords and the sync passphrase live in your system's credential store: Windows Credential Manager, the macOS Keychain or the Secret Service on Linux. Never in Tern's files.
  • Hosts, snippets and settings are plain files in Tern's data folder (%APPDATA%\Tern, ~/Library/Application Support/Tern or ~/.local/share/tern), readable only by you. They hold no passwords or private keys, though notes and environment variables are kept as you write them. A vault file that can't be read is set aside as vault.json.unreadable, never overwritten.
  • Keys and host keys go where your system expects them. On Linux and macOS, keys you make or import in Tern land in ~/.ssh and hosts you trust in ~/.ssh/known_hosts, so ssh and git use them too, and Tern deletes only the keys it added. On Windows, Tern keeps both in its own folder and only reads ~/.ssh.
  • Sync encrypts everything on your device (Argon2id and XChaCha20-Poly1305) before it reaches the cloud folder. Private keys sync only if you pick them, one by one, and a key that arrives is checked before it's written, never as one of ssh's own files.

Contributing

DEVELOPMENT.md covers building, the local test server and the Docker lab of real OpenSSH servers; AGENTS.md is how changes are made here; ROADMAP.md is what comes next.

Tern is free and open source under the MIT License.

About

The SSH client that gets out of your way. Every server you look after in one calm, fast window: SFTP, port forwarding, jump hosts, sync through your own folder. Free and open source, no account.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages