AI Briefing
KO

Show GN: sls — a CLI I made to manage SSH access and Docker containers on one screen

·2026.04.17 11:31

Key point

Introducing a tool that lets you browse and connect to SSH hosts and Docker containers from a single CLI.

Details

As the number of servers to manage grew, it became tedious to memorize and type out host names from ~/.ssh/config every time, and once Docker containers were added on top of that, I wanted to handle them in the same interface, so I made sls.

The core flow is as follows.

  • Fuzzy-search SSH hosts and connect immediately.
  • After SSH-ing into a host, automatically detect running containers by running docker ps.
  • Show the detected containers as a subtree under the host, and connect directly via docker exec when one is selected.
  • Cache shell detection results so it doesn't probe every time.
  • Frequently used hosts can be pinned to the top as favorites.

The author explains that they initially used fzf as a stopgap, but as the need arose for a workflow that handles SSH and Docker containers together, they organized it into this CLI.

You can see the actual behavior in the GitHub README, and the author is asking for opinions if there are other similar ways to manage servers and containers.

This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.

Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.