r/SideProject • • 8d ago

A free, open-source SSH client for iPhone that renders a real terminal

Hi all — I built Pockterm because I kept hitting the same wall: I needed to SSH into my servers from my phone, and the options were either paid subscriptions or free apps that turned htop and tmux into unreadable mush.

So I built my own. Pockterm is a native iOS SSH/SFTP client (Swift/SwiftUI) with a real terminal renderer — htop, tmux, and vim actually look right on a phone screen. Keys are stored in the iOS Keychain, SFTP and port forwarding are built in, and there's an optional bring-your-own-key AI assistant (Anthropic, OpenAI, OpenRouter, Hugging Face, and Meta's Muse models) that's off unless you turn it on. I happen to have a pair of Viture glasses, so it has a full-screen mode for those as well.

It's free, open source (Apache-2.0), no account, no ads, no tracking. It's on the App Store now at version 1.10, and the source is on GitHub.

What I'd love feedback on:

  • If you SSH from your phone, what do you use it for — servers, Pis, homelab?
  • What would make you switch (or not switch) from what you use now?
  • Anything about the terminal rendering or key management that feels off?

App Store: https://apps.apple.com/us/app/pockterm/id6789968094
Source: https://github.com/jhancock1975/pockterm

Happy to answer anything about how it's built.

1 Upvotes

4 comments sorted by

0

u/ThanhDongNguyen 8d ago

For me phone SSH is mostly quick checks, restart a service, tail a log, open htop when something is down. So the thing that matters most is reconnecting. On iPhone the connection drops when you switch apps or the network changes, so mosh support, or at least auto reconnect back into the same tmux session, would make me switch.

On keys: can you generate them inside the app, or only import? If you create an ECDSA key in the Secure Enclave (CryptoKit SecureEnclave.P256) and unlock it with Face ID, the private key never leaves the phone. That would be a strong reason to trust a free app with my servers.

Small one: the extra key row above the keyboard (Esc, Ctrl, Tab, arrows) is make or break for vim on a phone, I'd make sure it's easy to customize.

1

u/Ok-Comfortable-6783 7d ago

Thanks for the helpful feedback and I welcome more.

Two things:

You can already generate a key inside the app:

  • Keychain tab, tap +, Generate Ed25519 Key.
  • Import works too.

What you suggested that I don't have yet is the Secure Enclave part, generating an ECDSA key in the enclave and unlocking it with Face ID so the private key never leaves the phone. That's a great idea and it's going in.

The key row also already exists, it's just not obvious enough. Key Bar settings lets you reorder, remove, or add keys, so clearly I need to make it easier to find.

And the big one: there's no mosh yet, and no auto-reconnect today. I've opened an issue to track all of this: https://github.com/jhancock1975/pockterm/issues/39

I'll post an update here once it's in the app store.