sshwarm

command module
v1.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2026 License: GPL-3.0 Imports: 16 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

sshwarm

k9s for ssh. Your Linux machines, their services, containers and logs, in one terminal.

checks release docs license

Tired of ssh-ing into box after box to find out what's deployed where, which service died overnight and which container is crash-looping? sshwarm shows the whole swarm at a glance, with the logs of whatever is red a keypress away.

  • In depth overview: uptime, pending reboot, systemd units, compose stacks, system resources.
  • Agentless: a small bash probe over your own ssh, with your keys, agent and ~/.ssh/config. Nothing to install on the machines.
  • Quick actions: start/stop services or containers, or reboot a machine.
  • Scriptable: get a json summary of all machines.

Get it

go install github.com/cmdoret/sshwarm@latest

Or nix run github:cmdoret/sshwarm, a release binary, or the container image.

Use

sshwarm --hosts hosts.toml   # one [[host]] per machine, with its name = "web-1"

Then ? lists the keys.

Docs

Quickstart · Configuration · Architecture · Contributing, also at cmdoret.net/sshwarm.

Documentation

Overview

sshwarm shows the state of Linux machines over ssh: uptime, pending reboots, CPU, memory and disk use, failed units, compose stacks, and their logs.

Directories

Path Synopsis
internal
inventory
Package inventory lists the machines sshwarm watches, and how to reach them over ssh: from a TOML hosts file, or a Nix flake's deploy.nodes.
Package inventory lists the machines sshwarm watches, and how to reach them over ssh: from a TOML hosts file, or a Nix flake's deploy.nodes.
remote
Package remote runs commands on hosts over ssh: to their end, as a stream of lines, or with the user's terminal.
Package remote runs commands on hosts over ssh: to their end, as a stream of lines, or with the user's terminal.
swarm
Package swarm talks to the machines over ssh: it lists them, probes them, streams their logs and descriptions, opens shells and runs actions.
Package swarm talks to the machines over ssh: it lists them, probes them, streams their logs and descriptions, opens shells and runs actions.
testutil
Package testutil holds what the tests of several packages share.
Package testutil holds what the tests of several packages share.
ui
Package ui shows the machines: as a table on stdout (PrintStatus), or as a TUI (Run) with their services, stacks, containers and logs.
Package ui shows the machines: as a table on stdout (PrintStatus), or as a TUI (Run) with their services, stacks, containers and logs.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL