CLI reference / network

stado network

Invocation

stado network <COMMAND>

Purpose

Stado's own host network: join it, read what it reaches, leave it

Required inputs and options

This command has no command-specific inputs or options.

Output and state effect

This command group selects one of the subcommands listed below; use its exact child invocation to perform an operation.

Refusals

  • Before dispatch, Stado refuses a missing required token shown in the invocation, an unknown option, or a value outside a listed value set; argument-usage failures exit with code 2.

Subcommands

  • up — Join this host to Stado's network: mint its key, measure its endpoints, declare its node in the registry with its network address as the preferred SSH path, install and start the node, and see it answer
  • status — This host's node and every declared peer: reached directly, through a relay, or not, with the cause
  • down — Leave Stado's network: stop and remove the node, take its declaration out of the registry and make the host's first alternate path the preferred one again. The key stays, so `up` restores the same identity
  • serve — Run this host's network node in the foreground (what the unit `up` installs runs)
  • connect — Carry standard input and output to HOST's port PORT over Stado's network: OpenSSH's `ProxyCommand=stado network connect %h %p`