Claude Code in a terminal makes sense in the current world, but the current world doesn’t make sense.

Shipping a terminal-based Claude Code and Codex was superficially a very good idea, because the terminal has reach. Being in the terminal means these apps automatically work over SSH and in containers. You can connect to any server, load up Claude Code or Codex, and then go.

But there is a natural successor to terminal-based apps: you fuse the SSH client to a web view (or something analogous). People have long been hacking together this type of experience using SSH port forwarding, and that’s how we got web-based server apps like Jupyter. Now I think it’s time we make this into a first-class platform, and it’s time we bring it to phones and tablets.

SSH tunneling has obvious and non-obvious benefits over terminal-based apps. The obvious benefit is that it gives you graphical user interfaces, images, video, visualizations and so on. A less obvious fact is that, unlike terminal-based apps, using apps over SSH tunneling on your phone or tablet is fun. This is the detail that I think is going to make this platform thrive.

Today I’m open-sourcing OuterSSH, a cross-platform SSH tunneling library designed for laptops and mobile. It is the core of Outer Loop, which is now available for macOS, Windows, Linux, Android, iOS, and iPadOS. You can use Outer Loop, or you can quickly build your own SSH tunneling client on top of OuterSSH. I’m also shipping an open-source “outerssh” command line tool, which you can use as a drop-in replacement for “ssh -L” or “ssh -D”, to get faster, more efficient connections that don’t die after you close and reopen your laptop lid. There’s a whole range of experiences that you can build with this.

In this post, I give you a glimpse of how good the experience of using SSH tunneling can be. I hope to convince you that a browser-like SSH app platform in fact has much more reach than terminal-based apps, not less.

Screencast

Here’s a YouTube mirror, for people who prefer that.

For more, see my two related previous screencasts:

Why this is exciting

In part, I’m a general fighting the previous war. The modern mobile operating system really is a step forward, compared to the desktop operating system. It doesn’t get hacked, it doesn’t accumulate cruft, and it enables new form factors. The worst thing about the desktop operating system is that employers are forced to ruin it, attempting to patch the operating system’s fundamental weakness with a suite of endpoint security software. And yet most technical work still happens on desktop operating systems. I think the missing piece is giving these modern devices a good interface to use a classical computer. I think SSH tunneling, starting with the current web view and growing from there, is the natural way to do this.

Looking forward, though, I think SSH tunneling plays a big role in how we use computers in the future. Do you want to talk to an AI agent who owns a workspace for you? Or do you want to own a workspace, where you let agents come in and work for you? We’re going to see companies spend many billions of dollars to try to build the former, and meanwhile the latter is set to be more of a clunky, nerdy, weirdo DIY approach. I think the latter is important in the same way that end-to-end encrypted messaging is important, and I think SSH tunneling is a key part of how we can actually make it good.

(Thanks to Rosanne Liu for reading drafts of this post.)