Skip to main content
POST
/
api
/
v1
/
ssh
/
disable
Disable SSH
curl --request POST \
  --url https://{identifier}.sandbox.tensorlake.ai/api/v1/ssh/disable \
  --header 'Authorization: Bearer <token>'
{
  "enabled": true,
  "pid": 123,
  "host_key_fingerprint": "<string>"
}
Stop the sandbox’s internal SSH server.
This endpoint is normally managed by Tensorlake’s SSH proxy. Most users should disconnect their SSH client or use the CLI instead of calling it directly.
The public sandbox proxy authenticates your API key and injects the internal forwarded-auth headers required by the daemon.

Endpoint

POST /api/v1/ssh/disable

Example Request

curl -X POST https://<sandbox-id>.sandbox.tensorlake.ai/api/v1/ssh/disable \
  -H "Authorization: Bearer $TENSORLAKE_API_KEY"

Response

Tensorlake returns 200 OK with the updated SSH daemon status:
{
  "enabled": false,
  "pid": null,
  "host_key_fingerprint": "SHA256:..."
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

SSH daemon status

enabled
boolean
required
pid
integer<int32> | null
host_key_fingerprint
string | null