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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"cubeId": "<cubeId>"
},
"name": "get_cube_ssh"
}
}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. |