Best SSH Client for Mac: An Honest Shortlist by Use Case
The best SSH client for Mac depends on how you work. We compare Terminal, iTerm2, Ghostty, Termius, Tabby, Warp and DockLab, with real config and trade-offs.
The best SSH client for Mac depends on what you do after connecting. If you mostly type commands, use the built-in OpenSSH in iTerm2 or Ghostty. Termius fits best if you also SSH from your phone. Tabby is the free, cross-platform GUI option, and Warp has the strongest AI agent. If your work mixes a terminal, file transfers, editing remote configs and AI help on the same servers, DockLab puts all of that in one window.
Quick answer
- Free, already installed, no lock-in: Terminal.app or iTerm2 with OpenSSH and a good
~/.ssh/config. - Fastest modern terminal: Ghostty. Copy its terminfo to your servers first.
- Sync with iOS and Android: Termius (free Starter plan, paid Pro for cloud sync, as of 2026-10).
- Free, open-source GUI host manager: Tabby (MIT license).
- Best AI agent in the terminal: Warp. It has no SFTP file browser.
- SSH, SFTP, a remote editor, a browser and AI in one desktop workspace: DockLab.
How we judged them
Every client on this list can open an SSH session. On a Mac, the differences show up in other places:
- Does it use your
~/.ssh/config? If it does, your hosts, jump hosts and port forwards work in every tool. If it doesn't, your setup lives in one app's database. - Where do secrets live? In the macOS Keychain, in an app vault, or in a cloud vault.
- File work. Can you browse, upload and edit remote files, or do you drop to
sftpandrsync? - Remote quirks. Some newer terminals set a custom
TERMthat your servers don't recognize. - Price and lock-in, as of 2026-10, taken from each vendor's own site.
We're not ranking these on raw rendering speed. We haven't benchmarked them in a way we'd stand behind, and for SSH work the network matters far more than how fast the terminal draws.
The comparison table
| Client | Price (as of 2026-10) | SFTP / files | Reads ~/.ssh/config | AI | Best for |
|---|---|---|---|---|---|
| Terminal.app + OpenSSH | Free, built in | sftp, scp, rsync on the CLI | Yes, natively | None | Minimalists, scripting |
| iTerm2 | Free | CLI tools | Yes (runs OpenSSH) | Not covered here | Power users, tmux |
| Ghostty | Free | CLI tools | Yes (runs OpenSSH) | None | Speed, native feel |
| Termius | Free Starter, Pro $10/month billed yearly | Built-in SFTP | Own vault | AI autocomplete | Mobile + desktop sync |
| Tabby | Free, MIT | Plugin or web app | Own connection manager | Not listed | Free GUI host list |
| Warp | Free, Build $20/month | CLI tools | Yes (runs OpenSSH) | Mature built-in agent | AI-driven shell work |
| DockLab | Free, Pro, Team (pricing) | SFTP + Monaco remote editor | Own host list | Chat, Ask, Agent | Mixed terminal, file and AI tasks |
For a feature-by-feature grid of DockLab against Termius, Warp and MobaXterm, see DockLab vs Termius, Warp and MobaXterm.
Set up the Mac side first (works with every client)
Whatever client you choose, these steps make SSH on macOS less annoying. Hosts you define once in ~/.ssh/config keep working if you switch tools later. We cover larger layouts in SSH config file examples.
Create a key and store its passphrase in the Keychain
ssh-keygen -t ed25519 -C "macbook-2026-10" /usr/bin/ssh-add --apple-use-keychain ~/.ssh/id_ed25519Use the full
/usr/bin/ssh-addpath. If Homebrew's OpenSSH comes first in yourPATH, plainssh-addfails with "illegal option", because only Apple's build has Keychain support. GitHub's troubleshooting page documents this, and notes that macOS releases before Monterey used-Kinstead.Make the agent load keys automatically
# ~/.ssh/config Host bastion HostName 203.0.113.10 User ops Host app-prod HostName 10.0.1.20 User deploy ProxyJump bastion Host * UseKeychain yes AddKeysToAgent yes IdentityFile ~/.ssh/id_ed25519 IdentitiesOnly yes ServerAliveInterval 30UseKeychainis an Apple-only option. Other OpenSSH builds reject it, so if you share this file with Linux machines, addIgnoreUnknown UseKeychainabove it.Check the resolved config before you trust it
chmod 600 ~/.ssh/config ssh -G app-prod | grep -E '^(hostname|user|proxyjump|identitiesonly) ' ssh -v app-prod truessh -Gprints whatsshwill actually do without connecting. It catches most typos before they lock you out.
The shortlist, one by one
Terminal.app or iTerm2 with OpenSSH: the default that's hard to beat
If you only type commands, plain ssh in a good terminal is the most portable setup you can have. iTerm2 adds a lot on top. Its features page lists tagged profiles, automatic profile switching when you SSH to a given hostname (through shell integration), split panes, regex triggers, and a password manager that keeps secrets in the macOS Keychain.
Its best feature for remote work is tmux integration. Run tmux -CC on the server, and tmux windows show up as native iTerm2 tabs. If your Wi-Fi drops, tmux -CC attach brings them back as you left them. There are a few catches. A tab with tmux windows can't hold non-tmux split panes, and every tmux window is limited to the size of the smallest attached client.
ssh app-prod
tmux -CC new -A -s main
Where it falls short: there's no file browser. Transfers go through sftp, scp or rsync. We cover which one to use in SFTP vs SCP vs rsync.
Ghostty: fast and native, with one remote gotcha
Ghostty is a native macOS terminal that runs your system ssh, so your config works unchanged. The catch: it sets TERM=xterm-ghostty. A fresh Ubuntu server doesn't know that terminal type, so htop, less or vim can fail with missing or unsuitable terminal: xterm-ghostty. The Ghostty terminfo docs give two fixes. Either copy the entry to the server:
infocmp -x xterm-ghostty | ssh app-prod -- tic -x -
or fall back to a common entry for that host (this needs OpenSSH 8.7 or newer, and you lose some styling such as colored underlines):
Host app-prod
SetEnv TERM=xterm-256color
According to the Ghostty SSH docs, Ghostty 1.3.x can automate this with shell-integration-features = ssh-env,ssh-terminfo. That only applies to interactive ssh. Tools that call ssh themselves, such as scp, sftp, rsync -e ssh and git, don't go through the wrapper.
Termius: the one to pick if your phone matters
Termius is a polished product, and on one point nothing else here competes: the same hosts on your Mac, iPhone and Android phone. As of 2026-10, the Termius pricing page lists a free Starter plan (local vault, SSH and SFTP, AI-powered autocomplete, port forwarding, commercial use allowed). Pro costs $10/month billed yearly and adds a personal cloud vault, mobile and desktop sync, session logs and snippet automation. Team ($20/seat/month) adds a shared vault and real-time collaboration, and Business ($30/seat/month) adds multiple vaults with granular access control.
The trade-off: your hosts live in the Termius vault, not in ~/.ssh/config. That's fine if Termius is your only client, and less convenient if you also script against the same hosts.
Tabby: free and open source, with a GUI host list
Tabby is an MIT-licensed terminal for macOS, Windows and Linux. Its SSH side includes a connection manager, X11 and port forwarding, automatic jump host handling, agent forwarding and login scripts. It also has a serial terminal, which few Mac tools offer.
The gaps matter, though. The README doesn't list SFTP as a built-in desktop feature. SFTP is available in the web app, or on desktop through a community sftp-tab plugin. Config sync also needs a community plugin that stores settings in a GitHub Gist or Gitee.
Warp: the strongest AI agent in a terminal
Warp has a more mature terminal-native AI agent than anything else here, and we say that as people who ship an AI assistant ourselves. As of 2026-10, the Warp pricing page lists Free, Build at $20/month ($18/month billed annually), Max at $200/month, and Business at $50/user/month. You run ssh inside it, so your config works. But it's a terminal, not a file manager: there's no SFTP panel. We compared it with other AI tools in Best AI terminal tools.
DockLab: when the job is bigger than a terminal
DockLab is what we build, so weigh this section with that in mind. It's a desktop app built with Rust and Tauri. It combines an SSH terminal, SFTP file management, a Monaco-based remote editor, an integrated browser and an AI assistant, in tabs and up to four split panes. You can save a layout as a workspace and restore it later.
It's worth it when one task touches several surfaces. A typical example: edit an nginx config in the editor, reload the service in the terminal, check the site in the browser pane, then ask the assistant about the error log, all against the same host. The AI has Chat, Ask and Agent modes. It works with your own Anthropic, OpenAI or OpenRouter key, or with the Claude Code CLI you already have installed and logged in. Your provider receives the conversation, the context you send and tool results. Whether commands need your approval depends on your permission settings.
Things to know before choosing it:
- Security: release builds keep credentials, imported SSH keys and AI API keys in a local AES-256-GCM encrypted store. SSH host key pinning flags a server whose identity changed.
- Plugins: 18, including Docker Assistant, Systemd Services, Nginx Manager, Log Viewer, Security Scan and SSH Key Manager.
- Limits: a DockLab account is required. There are no iOS or Android apps. Saving a workspace doesn't keep remote processes running (use tmux for that), and AI conversation history doesn't sync between devices.
- Availability: macOS is a target platform, but check the download section for which installers and architectures are currently published.
Tabby vs Termius
People who search for this usually want a free GUI host manager and are deciding whether Termius's paid tiers are worth it.
| Tabby | Termius | |
|---|---|---|
| License and price | MIT, free | Free Starter, paid Pro, Team, Business |
| Platforms | macOS, Windows, Linux, web | macOS, Windows, Linux, iOS, Android |
| SFTP on desktop | Community plugin | Built in |
| Sync | Community plugin (Gist or Gitee) | Pro: cloud vault, mobile and desktop sync |
| Serial | Yes | Listed on Termius's homepage |
| Team sharing | No | Team and Business vaults |
Pick Tabby if you want open source, don't need a phone client, and are fine with plugins. Pick Termius if you need mobile access, a built-in SFTP panel without plugins, or shared credentials for a team. Our Termius alternative article covers the move away from Termius in more detail.
Which one should you pick?
- You live in the shell and use tmux: iTerm2 with
tmux -CC. - You want the fastest native terminal: Ghostty, after fixing terminfo on your servers.
- You SSH from your phone during on-call: Termius.
- You want a free GUI host list and open source: Tabby.
- You want an agent to write and run commands for you: Warp.
- Your server work mixes the terminal, remote files, configs, logs and AI: DockLab. See the comparison for the full grid.
On Windows instead? See our PuTTY alternative roundup.
Frequently Asked Questions
Does macOS have a built-in SSH client?
Yes. macOS ships OpenSSH, so ssh, scp, sftp and ssh-keygen work in Terminal.app out of the box. It reads ~/.ssh/config and supports the Apple-only UseKeychain option for storing key passphrases in the Keychain. For many engineers, that plus a better terminal app is all they need.
What is the best free SSH client for Mac?
For terminal-only work, iTerm2 or Ghostty with the built-in OpenSSH costs nothing and keeps your config portable. If you want a graphical host manager, Tabby is free under the MIT license. Termius also has a free Starter plan with SSH and SFTP, as of 2026-10.
Is Tabby or Termius better on a Mac?
Tabby is better if you want free, open-source software and don't need mobile apps. Termius is better if you want built-in SFTP without plugins, cloud sync with iOS and Android, or shared team vaults. Both connect to the same servers, so trying both is cheap.
Why does vim or htop break when I SSH from Ghostty?
Ghostty sets TERM=xterm-ghostty, which many servers don't recognize yet. Run infocmp -x xterm-ghostty | ssh host -- tic -x - to install the entry on the server. You can also add SetEnv TERM=xterm-256color for that host in ~/.ssh/config.
Which Mac SSH client has a built-in file browser?
Termius has built-in SFTP, and DockLab pairs SFTP with a Monaco-based remote editor. iTerm2, Ghostty and Warp are terminals, so you transfer files with sftp, scp or rsync. Tabby adds SFTP on desktop through a community plugin.
See where DockLab fits next to Termius, Warp and MobaXterm.
An honest feature-by-feature table: SSH, SFTP, remote editing, AI, plugins and price.