curl --request GET \
--url https://api.sfcompute.com/v2/nodes/{id}/ssh \
--header 'Authorization: Bearer <token>'{
"hostname": "<string>",
"port": 1,
"host_keys": [
{
"key_type": "<string>",
"key": "AAAAC3NzaC1lZDI1NTE5AAAAI..."
}
],
"last_successful_key_update_at": 1738972800,
"last_attempted_key_update_at": 1738972800
}Retrieve SSH connection details for a node.
curl --request GET \
--url https://api.sfcompute.com/v2/nodes/{id}/ssh \
--header 'Authorization: Bearer <token>'{
"hostname": "<string>",
"port": 1,
"host_keys": [
{
"key_type": "<string>",
"key": "AAAAC3NzaC1lZDI1NTE5AAAAI..."
}
],
"last_successful_key_update_at": 1738972800,
"last_attempted_key_update_at": 1738972800
}Create an API token using sf tokens create or at https://sfcompute.com/account/api-keys.
A resource path like 'sfc:node:acme:prod:my-node' or an ID. Resource paths are human-readable but not stable - they change when resources are renamed or moved. IDs are stable and permanent.
(node_[0-9a-zA-Z_-]{1,21})|(sfc:node:[a-zA-Z0-9._-]+(:[a-zA-Z0-9._-]+){1,3})"node_k3R-nX9vLm7Qp2Yw5Jd8F"
SSH connection details.
"24.125.89.203"
x >= 022
Show child attributes
Unix timestamp of the last successful host key refresh.
1738972800
Unix timestamp of the last attempted host key refresh.
1738972800