Get instance SSH info
Instances
Get instance SSH info
Retrieve SSH connection details for an instance.
GET
Get instance SSH info
Authorizations
Create an API token using sf tokens create or at https://sfcompute.com/account/api-keys.
Path Parameters
A resource path like 'sfc:instance:acme:prod:my-instance' or an ID. Resource paths are human-readable but not stable - they change when resources are renamed or moved. IDs are stable and permanent.
Pattern:
(inst_[0-9a-zA-Z_-]{1,21}|vm_[0-9a-zA-Z_-]{1,21})|(sfc:instance:[a-zA-Z0-9._-]+(:[a-zA-Z0-9._-]+){2,2})Example:
"inst_k3R-nX9vLm7Qp2Yw5Jd8F"
Response
SSH connection details.
Example:
"24.125.89.203"
Required range:
x >= 0Example:
22
Unix timestamp of the last successful host key refresh.
Example:
1738972800
Unix timestamp of the last attempted host key refresh.
Example:
1738972800