Skip to main content

lium ssh

SSH into a pod.

lium ssh TARGET

Arguments​

  • TARGET — Pod name or index from lium ps.

Examples​

lium ssh my-pod   # Interactive shell
lium ssh 1 # SSH to pod #1

To run a one-shot command without holding a shell, use lium exec instead.

A connection ssh itself could not make — refused or dropped — exits 4. A pod that exists but cannot take a session (stopped, failed, no SSH endpoint yet) exits 4 as well, while a TARGET matching no pod exits 5. Unlike lium exec, the remote shell's own exit code is not passed back: that is the remote's business, and the session itself succeeded.

See also​