Get Cube SSH Info
get_cube_sshRetrieve SSH connection details for a Cube, including host, port, login user, and pinned host keys, instead of guessing the username. The returned account has passwordless sudo access.
Instructions
Everything needed to SSH into a Cube: host, port, the login USER, and any pinned host keys. Call this rather than guessing a username — it is ubuntu or debian on Cubes created from images that ship a default user, and root on older Cubes, so it cannot be derived from the image id. The returned user has passwordless sudo; sudo su reaches root.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cubeId | Yes | The Cube id to operate on. | |
| spaceId | No | Krova Cloud Space id. Optional if KROVA_SPACE_ID is set as the server default. |