tail CI logs over SSH

Lobsters Hottest Tools

Summary

This article describes a new feature that allows users to tail CI logs over SSH using a terminal user interface, requiring no installation and handling ANSI codes correctly.

<p><a href="https://lobste.rs/s/d9n2yd/tail_ci_logs_over_ssh">Comments</a></p>
Original Article
View Cached Full Text

Cached at: 05/29/26, 01:50 AM

# tail CI logs over SSH Source: [https://blog.tangled.org/ssh/](https://blog.tangled.org/ssh/) never leave your terminal to check on CI\! ![oppi.li](https://avatar.tangled.sh/6bdd4799b122ca635d7151160a6e2b06da4b8f7f75c31363cdc618ad5a1950a4/did:plc:qfpnj4og54vl56wngdriaxug?size=tiny) If you push to a new branch on a remote, if CI was triggered, Tangled now helpfully supplies an`ssh`command for you: ``` λ jj git push -c @- -- snip -- remote: → Browse CI logs in your terminal: remote: ssh -t -p 3333 tangled.org did:plc:j5hmlfdrwkvtxm7cjmu7j2is 796ecc5b0ce5381ed5b5021e7cc28b4b05e03c92 ``` Paste that command in a new shell, and you are dropped into a fullblown TUI, served over SSH: Try it for yourself: ``` ssh -t -p 3333 tangled.org did:plc:j5hmlfdrwkvtxm7cjmu7j2is 796ecc5b0ce5381ed5b5021e7cc28b4b05e03c92 ``` That SSH commmand runs a "screen based" program on the remote machine\. In this case, the program is a TUI built using[bubbletea](https://github.com/charmbracelet/bubbletea)and[wish](https://github.com/charmbracelet/wish)\. SSH powered interfaces are wonderful for several reasons: - They require zero installation - They work great for interactive bits like menus - They have all the upsides of running a TUI: you can persist them over tmux, theme them with terminal colors etc\. But they are doubly wonderful when streaming CI logs, the screen\-program is totally unaware of ANSI escape codes, but they are handled correctly by virtue of writing to a PTY\. Both ends \(the commands running in the CI job and the PTY\) are speaking the same language\.

Similar Articles

manaflow-ai/cmux

GitHub Trending (daily)

cmux is a Ghostty-based macOS terminal with vertical tabs and notifications designed for AI coding agents, featuring SSH support, in-app browser, and Claude Code Teams integration.

Replacing Ctrl-R in Bash without TIOCSTI

Lobsters Hottest

The article details a method to replace Bash's Ctrl-R history search using a custom tool, adapting to recent Linux kernel security changes that restrict TIOCSTI usage.