TernaryShell 1.6.1 is outWhat’s new

Which server
are you on?

A native SSH and SFTP client for macOS, Windows and Linux. Production shows in red and staging in yellow, from the sidebar to the edge of the terminal, so you know where you’re typing before you press Enter.

Free and open source · macOS, Windows and Linux

Live demo· sample servers, running in this page
TernaryShell with saved connections grouped by environment, and a production server open in two panes

Click a server, press ⌘K, or open Files.

Bring what you already have. There is nothing to sign in to.

~/.ssh/config Electerm export ssh-agent 1Password Secretive YubiKey Pageant
Written in Rust

Small, quick, and quiet.

One binary, no Chromium and no Node.js underneath. TernaryShell draws its own window on the GPU, opens before you’ve looked away, and draws nothing at all while nothing changes.

0.1s
from launch to the first frame
0%
CPU while idle, even with tabs open
~70MB
of memory with an SSH session open
0
accounts, trackers or telemetry

Measured on an Apple Silicon MacBook with the release build.

Labels

Production looks like production.

Give a group a colour and a short tag such as PROD. Every connection in it carries the label: a dot in the sidebar, a line under its tabs, a stripe along the top of its terminal and the tag in the status bar.

  • Set it from the group’s menu, a tab’s menu or Edit Connection. A connection can override its group.
  • Nine colours. Icons stay neutral, so the colour only ever means where you are.
web-01web-02
deploy@web-01:/srv/app$ systemctl restart nginx
PRODConnecteddeploy@10.0.1.212 forwards4 ms
api-staging
deploy@api-staging:~$ systemctl restart nginx
STGConnecteddeploy@10.1.0.511 ms
⌘DTerminal

A real terminal that notices.

Split panes share their tab’s SSH connection. When the network changes under you, a VPN going up, another Wi-Fi, the Mac waking up, TernaryShell checks the server and says so within seconds instead of freezing.

  • Built on alacritty_terminal: 24-bit colour, mouse reporting for vim, htop and tmux, IME, CJK, and box drawing that joins up.
  • Reconnect keeps the scrollback; Enter in an ended pane starts a new shell there.
Two panes over one connection to web-01: a directory listing on the left, a deploy script on the right 1The red line under the tab: this is production. 2Two panes, one connection. ⌘D splits. 3The tag, the address, forwards and the round trip to the server.
The real app, on macOS
  1. 1 The red line under the tab: this is production.
  2. 2 Two panes, one connection.
  3. 3 The tag, the address, forwards and the round trip to the server.
⇧⌘FFiles

This machine and the server, side by side.

The Files panel opens under the terminal, over the same connection. Drag between the two lists, drop from Finder or Explorer, and follow the batch: files done, speed and time left.

  • Root reopens the server side through sudo, for the files your user can’t touch. The terminal stays as you.
  • Files arrive under a temporary name and are renamed when complete. Cancel, close or quit, and no half-written file is left behind.
The Files panel under the terminal: this Mac on the left, the server on the right, with a 3.2 GB upload at 43 per cent 1The whole batch at a glance, with Cancel all. 2Root: browse and transfer as root through sudo. 3Symlinks say where they point.
The real app, on macOS
  1. 1 The whole batch at a glance, with Cancel all.
  2. 2 Root: browse and transfer as root through sudo.
  3. 3 Symlinks say where they point.
⌘SEditor

Change the config where it lives.

Double-click a file on the server to edit it in place, with line numbers, syntax colours and marks on the lines you changed. ⌘S writes it back.

  • The new content is written next to the file and swapped in, so a dropped connection never leaves half a config.
  • Line endings, a BOM and permissions are kept. If someone changed the file meanwhile, it tells you before saving.
storefront.yml open in the remote editor with two changed lines marked and unsaved changes in the status bar 1Only the lines you changed are marked. 2The path on the server, and Save.
The real app, on macOS
  1. 1 Only the lines you changed are marked.
  2. 2 The path on the server, and Save.
Connections

The parts of SSH you actually use.

This Mac→bastion→db-primary

Jump hosts

Reach a server through another saved one, like ssh -J, several in a row if you need. Each hop checks its own host key and logs in its own way.

-L 18080 → localhost:80-D 11080SOCKS proxy

Port forwarding

Local, remote and SOCKS forwards start with the connection. The status bar lists them, and a port that was taken gets a Retry.

Agent found· 1Password

Keys, agents and the keychain

Passwords and pasted keys live in the system keychain. Or log in through ssh-add, 1Password, Secretive, Bitwarden or a YubiKey; Pageant on Windows.

ED25519SHA256:xUw2pB1q 9cT0vRk3 Lm4sQe7Z

Host keys, checked

A new key is trusted with a click, never with Enter. A changed one shows the old fingerprints and waits until you say you checked. Hashed known_hosts and @revoked work.

2 new, 1 changed, 1 already here

Import with a preview

~/.ssh/config and Electerm exports come in with groups, keys and forwards. You see what will be added, changed or skipped first; importing twice changes nothing.

Updated to 1.6.1· 3 sessions reconnected

Updates that pick up where you were

It checks GitHub at start, verifies the download’s SHA-256, installs, and reconnects the sessions that were open.

Shortcuts

Your hands stay on the keys.

On Windows and Linux the app’s shortcuts use CtrlShift, so every Ctrl+letter still reaches the remote shell.

Private by design

Your servers are your business.

No account

Download it and connect. No sign-in, no plan, no trial, no cloud sync of your hosts.

No telemetry

Besides your own servers, TernaryShell talks to one place: GitHub, to check for updates. You can turn that off in Settings.

Open source

MIT licensed and built in the open with egui, alacritty_terminal and russh. Read it, build it, change it.

Install

A minute from here.

TernaryShell keeps itself up to date after that. Then + in the sidebar adds a server, or Import brings in ~/.ssh/config.

v1.6.1
1

Run this in Terminal recommended

It downloads the latest release, installs TernaryShell.app into /Applications and opens it. Run it again to update. macOS 12 or later, Apple Silicon and Intel.

$curl -fsSL https://raw.githubusercontent.com/ilhamnadhif/ternaryshell/master/scripts/install.sh | bash
2

Or download an installer

The builds aren’t notarized by Apple yet, so macOS blocks a download from a browser. Click Done, then System Settings → Privacy & Security → Open Anyway. The command above isn’t blocked.
3

Homebrew

$curl -fsSLO https://github.com/ilhamnadhif/ternaryshell/releases/latest/download/ternaryshell.rb brew install --cask ./ternaryshell.rb
Then: + in the sidebar, or Import for ~/.ssh/config and Electerm. Release notes Build from source
FAQ

Fair questions.

Something else? Open an issue with your version, system and the steps.

Is it really free?

Yes. TernaryShell is MIT licensed, with no account, no paid tier and no trial.

Where do my passwords and keys go?

Into the system’s keychain: the macOS Keychain, Windows Credential Manager, or the Secret Service on Linux. Never into TernaryShell’s own files, which hold only the connections, settings and known hosts, readable by your user alone.

Does it send anything anywhere?

Only a check with GitHub for a new release, which you can turn off in Settings → General. There is no telemetry, and crash reports stay in a log folder on your machine.

Can I bring my connections from Electerm or ~/.ssh/config?

Yes. Import reads Electerm exports, with nested groups, passwords and pasted keys, and ~/.ssh/config, including ProxyJump, forwards, IdentityAgent and Include. It shows what will be added, changed or skipped before anything is.

How do I move everything to another computer?

Export writes your connections, groups, labels and forwards to one JSON file, with the saved passwords and keys as plain text so the other machine can log in. Import it there, then delete the file.

Why does my system warn me about it?

The builds aren’t notarized or code-signed yet. On macOS, the one-line installer isn’t blocked; with the .dmg or .pkg, use Open Anyway in Privacy & Security. On Windows, SmartScreen asks once.

Every server,
one small window.

Free and open source · v1.6.1