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
sshto a host, gilvt asks whether to install a small helper (gilvt-remote; the question shows its size) on it:Yinstalls,nskips this time,Nnever installs on that host (remembered). The choice can be preset per machine with[remote] install = "ask" | "always" | "never"inconfig.toml(defaultask). Without the helper,sshlogs in as usual. - Updates: After a gilvt update, the first connection to a host with an older remote helper asks whether to update it (
Yupdate,nplain login this time,Nnever install;[remote] install = "always"updates without asking). - Bypass: type
command ssh hostor setGILVT_SSH=0(for exampleGILVT_SSH=0 ssh host) to skip gilvt entirely. - On the remote: everything lives in
~/.gilvt-serverand 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 diffand ⌘-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 diffasks you to runxcode-select --installfirst.