Cubes

Change a Cube's SSH port

Sets the port INSIDE the Cube that SSH is forwarded to — NOT the host port you connect to. The host port is allocated by Krova and is unchanged by this call. Pointing this at a port nothing is listening on inside the Cube will make SSH unreachable; the default is 22. The change is applied atomically (the old port mapping is replaced).

put/spaces/{spaceId}/cubes/{cubeId}/ssh-port

Request

  • Base URL: https://krova.cloud/api/v1
  • URL: https://krova.cloud/api/v1/spaces/{spaceId}/cubes/{cubeId}/ssh-port
  • Auth: API key in header X-API-KEY

Path parameters

spaceIdstring required
cubeIdstring required

Request body

cubePortinteger required

The port inside the Cube that sshd listens on (default 22). This is the Cube side of the mapping, not the host port.

Response

SSH port updated

Changes

No recorded changes to this operation across all 1 revision of this API.