r/macapps • • 2d ago

Lifetime CodeShell — SSH Client for iPhone, iPad & Mac

https://codeshell.webzler.com

Hi r/MacApps, I'm Amit, the developer of CodeShell.

Problem: Checking on your server from your phone means typing long shell commands on glass and remembering every flag.

CodeShell is an SSH terminal for Mac, iPhone and iPad with an assistant that runs 100% on-device (Apple Intelligence) — ask in plain English ("why won't nginx start?"), it runs one read-only command at a time and explains the result. Anything that changes the server waits for your tap on Run/Skip/Stop. No account, no API key, zero bytes to a cloud AI. It also has workspaces for AI coding agents on your server (Claude Code, Codex, opencode) with diffs and Allow/Deny approvals.

Comparison: Termius is the established pick for cross-platform sync, and Blink Shell is the power-user terminal with Mosh. CodeShell takes a different angle: an on-device AI assistant that answers in plain English, plus workspaces for the coding agents already on your server — and now a full SFTP file browser (browse + preview + transfers). CodeShell keeps sessions alive with persistent tmux.

Video: https://youtube.com/shorts/xkAQIhmEkWs

Pricing: Free (terminal + assistant + SFTP browsing/preview, forever). Pro: $15.99/year or $39.99 lifetime — AI Workspaces (free to try for 3 days), SFTP file transfers, persistent tmux sessions, server dashboard.

App Store: https://apps.apple.com/us/app/codeshell/id6816739464

Trust: MAS

Happy to answer questions — and I'd genuinely like feedback on what you'd want next.

15 Upvotes

13 comments sorted by

2

u/ericserpi 1d ago

Maybe when approving a command from an iphone it is reassuring to always have the hostname visible next to the confirmation button? For example when managing several servers where running the right command on the wrong machine can be a problem… PS: the sound of the youtube video is very loud !

1

u/amitrathiesh1 1d ago

Noted. Will push it with the next update.

1

u/Swimming-Ad6447 2d ago

Having Allow/Deny approvals and diffs for Claude Code and Codex right from an iPhone over SSH is a really nice touch. Does it handle Tailscale hosts and Mosh/reconnecting cleanly when switching between Wi-Fi and cellular?

2

u/amitrathiesh1 2d ago

Thanks! Tailscale: yes. With the Tailscale app running on your iPhone/iPad/Mac, tailnet hosts work like any other host, by MagicDNS name or 100.x address. The assistant can also check Tailscale's status on the server if you ask it.

Mosh: no, I went with tmux instead. CodeShell runs your session inside a persistent tmux session on the server, so when you move from Wi-Fi to cellular the SSH connection drops, but nothing on the server is lost. You reconnect and land back in the same session, with everything still running. The agent workspaces retry the connection on their own; in the plain terminal it's currently a tap to reconnect.

So it's not Mosh, but you don't lose work. Making the terminal reconnect automatically on a network change is on my list.

1

u/Swimming-Ad6447 2d ago

Using persistent tmux sessions with auto-retry on the agent workspaces is honestly cleaner than Mosh in practice, especially over Tailscale. Thanks for the breakdown, gonna check it out!

1

u/Evening-Focus3876 2d ago

The on-device assistant waiting for a Run/Skip before anything that changes the server looks like a thoughtful safety default. If you've already got a persistent tmux session open, does that assistant run the command inside the same session, or does it start a separate shell? Just going off the listing, because I'd want to be sure I wasn't ending up with two different working directories on the same host.

1

u/amitrathiesh1 2d ago

you've read it right: it's a separate shell. The assistant runs each command on its own SSH exec channel over the same connection, not inside your tmux session. That's deliberate: it never types into whatever you have in the foreground (vim, a running build, a half-typed command), and it gets clean output and an exit code to read from.

The trade-off is exactly what you're describing. Each assistant command starts fresh in your home directory, so it doesn't follow a cd you did in the terminal, and nothing it runs changes your shell's directory or environment. In practice it's fine for server-level questions ("why won't nginx start?", "what's using the disk?") since those don't depend on where you are. For something directory-specific, mention the path in the question.

Having the assistant pick up the terminal's current directory is a fair ask. I'll look at it.

1

u/linzjalinzj 2d ago

Does it support ProxyJump / bastion hosts and SSH port forwarding (-L / -R)? Didn't see either listed under Connections on the site, and those are usually what decide whether I can use an SSH client against private VPC/homelab boxes.

1

u/amitrathiesh1 2d ago

Partly. Straight answer:

  • Local forwarding (-L): yes. You add forwards per connection (local port → host:port on the server's side) and toggle them on and off. It's a Pro feature. One caveat on iPhone/iPad: a forward only lives while the SSH connection does, and iOS suspends the app shortly after it leaves the screen, so it's for "open the app, hit the forwarded port" rather than an always-on tunnel. On Mac it stays up as long as the connection does.

  • Remote forwarding (-R): no, not today.

  • ProxyJump / bastion hosts: no, not today. Right now CodeShell needs to reach the host directly, so private VPC boxes behind a bastion won't work unless you're on a VPN/Tailscale that puts you on the same network.

You're right that it's not on the site, and I'd rather say that plainly than have you find out after installing. Jump hosts are the one I hear about most for exactly your use case, so it's high on my list.

1

u/app-store-review 2d ago

CodeShell — by Amit Rathiesh

  • Ratings: 2 worldwide

  • Average: 5.00 ★

  • Age: released ~1 month ago · updated today · rated 4+

  • Overall score: 72 / 100

Auto-generated from public App Store data · u/app-store-review

0

u/ThanhDongNguyen 2d ago

The read-only assistant part is the interesting bit for me, but how do you decide a command is read-only? Stuff like find . -delete, sed -i, git checkout . or anything piped into sh look harmless at first glance.

If it's an allowlist of commands + flags, I think showing that list somewhere in settings would make people trust it way more than "read-only" as a label.

On Mac, does it read ~/.ssh/config and use keys from ssh-agent / 1Password agent? That's usually the first thing I check before moving away from Terminal.

1

u/amitrathiesh1 2d ago

Fair challenge, and yes, it's an allowlist in code. The model's own opinion of whether a command is safe is never consulted, because a small on-device model can be confidently wrong.

How it works: a command only runs without asking if it's positively recognised as read-only. That means a known program plus known-safe subcommands and flags. Everything else waits for Run/Skip/Stop. Your examples:

  • find . -delete: find is read-only unless it has -delete, -exec, -ok, -fprint and friends, so this asks.

  • sed -i: asks.

  • git checkout .: asks. Only status, log, diff, show and a few others run on their own.

  • anything piped into sh: every stage of a pipeline has to be on the allowlist, and sh isn't. Any ;, &&, $(...), backticks or a redirect to a file also means it asks, since those can hide a write behind a harmless first word.

I won't claim the list is perfect. It's hand-written and I keep tightening it as I find edge cases, but the default for anything unrecognised is to ask. Showing the list in Settings is a good idea and I agree it beats a label. Adding it to my list.

SSH config / agents: not today, honestly. CodeShell doesn't read ~/.ssh/config and doesn't talk to ssh-agent or the 1Password agent. It's a sandboxed Mac App Store app, so connections are set up in the app, and keys are added per connection (or generated in-app as Ed25519) and stored in the Keychain. If agent support is a dealbreaker for you, that's useful for me to know. ~/.ssh/config import is the more feasible of the two.