Skip to main content
Rotate keys when credentials may have been exposed, or as part of regular security policy. POST /v1/agents/runtime/{runtime_id}/ssh/enable?regenerate_keys=true
  1. Call enable_ssh with regenerate_keys=True (CLI: --regenerate-keys).
  2. Distribute the new private key to authorized operators.
  3. Remove old local key files.
  4. Verify access using the new connect_cmd.