POST /v1/agents/runtime/{runtime_id}/ssh/enable?regenerate_keys=true
Recommended Flow
- Call
enable_sshwithregenerate_keys=True(CLI:--regenerate-keys). - Distribute the new private key to authorized operators.
- Remove old local key files.
- Verify access using the new
connect_cmd.