gilvt

SSH remote (preview)

Run ssh to a Linux host or an Apple Silicon Mac in a gilvt pane and gilvt recognizes that the pane is now remote: the pane and tab show the host, the remote shell loads gilvt’s shell integration (command marks, current directory), and the remote directory is tracked. Only interactive logins are affected; ssh host command, scp and git push run unchanged.

  • Consent: the first time you ssh to a host, gilvt asks whether to install a small helper (gilvt-remote; the question shows its size) on it: Y installs, n skips this time, N never installs on that host (remembered). The choice can be preset per machine with [remote] install = "ask" | "always" | "never" in config.toml (default ask). Without the helper, ssh logs in as usual.
  • Updates: After a gilvt update, the first connection to a host with an older remote helper asks whether to update it (Y update, n plain login this time, N never install; [remote] install = "always" updates without asking).
  • Bypass: type command ssh host or set GILVT_SSH=0 (for example GILVT_SSH=0 ssh host) to skip gilvt entirely.
  • On the remote: everything lives in ~/.gilvt-server and runs one small daemon. To remove it by hand: pkill -f '[.]gilvt-server/'; rm -rf ~/.gilvt-server.
  • Remote files: with the helper installed, gilvt view, gilvt diff and ⌘-click on a path in the remote shell open the remote host’s files in Quick Look, and E / ⇧⌘-click opens them in the built-in editor; saving writes them back on the host (a file changed there since you opened it brings up the usual reload / compare / overwrite bar). Previews of files over 5 MB and edits of files over 10 MB are not supported remotely. ⌘P, dragging files in from Finder, git status and the editor’s live preview are not available for remote panes yet.
  • Limitations (R2a): Linux x86_64 / aarch64 and Apple Silicon (arm64) macOS hosts; Intel Macs log in the plain way; no mosh; no hopping on from the remote host to another one; claude / codex running directly in the remote shell appear in the sidebar, with notifications, approval jumping, the inspector, and session history and resume; agents inside remote tmux are not detected yet; cleanup, archive, review and the inspector’s Config and Artifacts tabs are not available for remote sessions yet. If the remote Mac has no Command Line Tools, gilvt diff asks you to run xcode-select --install first.