For the complete documentation index, see llms.txt. This page is also available as Markdown.

run-command

Run a shell command on a service instance, over SSH through the bastion.

Syntax

rumi cloud hetzner run-command \
  --api-key <token> \
  --network <network> \
  --key-pair <keypair> \
  --service <service> \
  --command <command> \
  [options]

Options

Option
Short
Description
Default

--api-key

-k

The Hetzner Cloud project API token (or set HCLOUD_TOKEN)

Required

--region

-r

The Hetzner location the network is in

fsn1

--network

-n

The name of the network

Required

--key-pair

-K

The SSH key pair to reach the bastion

Required

--service

-s

The service instance to run the command on

Required

--command

-c

The shell command to run

Required

Example

See Also

Last updated