>_ PocketShell

Notes from
the terminal.

SSH, terminals, and running things on remote machines.

aplexer: an agent multiplexer for AI coding agents

Manage Claude, Codex, and Gemini over SSH with aplexer: named agent sessions, isolated processes, workspaces, tags, and commands for parallel coding work.

September 12, 2026 · 5 min read

Stop losing work when SSH drops: tmux sessions that survive anything

Why SSH sessions die with the connection, how tmux keeps your work running on the server, and the commands that let builds and AI agents survive disconnects.

September 11, 2026 · 4 min read

Configuring a remote machine over SSH with AI agents

Run Claude Code or Codex CLI on a remote server over SSH, with key-based access, a sandboxed user, headless authentication, and persistent aplexer sessions.

September 11, 2026 · 5 min read

aplexer crash warnings: dead sessions stay visible until you acknowledge them

See when an aplexer agent crashes or is killed by OOM. Dead sessions stay visible with a warning in every listing until you explicitly acknowledge them.

September 17, 2026 · 5 min read

SSH from an iPad or iPhone: what actually works

SSH from an iPad or iPhone: choose a client, set up keys, handle mobile networks with mosh, and use a browser terminal when you cannot install apps.

September 12, 2026 · 5 min read

How to run multiple AI coding agents in parallel

Run multiple AI coding agents in parallel using git worktrees, named sessions, a status board, and task sequencing to keep their changes from colliding.

September 12, 2026 · 3 min read

Managing AI agents over SSH: a day-two guide

Manage AI agents over SSH: list sessions, attach without losing context, read transcripts, send input safely, and clean up stuck runs on remote servers.

September 12, 2026 · 4 min read

Check on your AI coding agents from your phone

Check AI coding agents from your phone with SSH or a browser terminal: quick status checks, simple commands, voice input, and access to remote sessions.

September 12, 2026 · 3 min read

The SSH config file: ~/.ssh/config with examples

How to use the ~/.ssh/config file: host aliases, per-host keys, wildcards, ProxyJump, connection reuse and includes, with examples and debugging tips.

September 11, 2026 · 5 min read

SSH Keys and authorized_keys: Setup and Hardening

Generate ed25519 keys with ssh-keygen, install them with ssh-copy-id, then harden the server: disable passwords and restrict each key's scope.

September 11, 2026 · 5 min read

SSH Agent Forwarding: Setup, Risks, and Safer Paths

How SSH agent forwarding works, how to enable it with ForwardAgent and ssh-add -h, the real security risks, and when ProxyJump is the better choice.

September 11, 2026 · 5 min read

How to Keep SSH Sessions Alive: Keepalives, tmux, Mosh

Stop SSH freezing on idle: ServerAliveInterval keepalives, server-side timeouts, tmux for detachable sessions, and when mosh is worth installing.

September 11, 2026 · 5 min read