Skip to main content
POST
Enable SSH
Enable the sandbox’s internal SSH server for authenticated sandbox-proxy connections.
This endpoint is normally called by Tensorlake’s SSH proxy. Most users should use SSH and PTY Sessions or tl sbx ssh instead of calling this endpoint directly.
The public sandbox proxy authenticates your API key and injects the internal forwarded-auth headers required by the daemon.

Endpoint

Use this endpoint on the sandbox proxy host:

Example Request

Request Body

  • proxy_pubkey is required. It is the sandbox proxy’s backend public key.
  • backend_user is optional and defaults to tl-user.

Response

Tensorlake returns 200 OK with SSH daemon status:

Authorizations

Authorization
string
header
required

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

Body

application/json
proxy_pubkey
string
required

OpenSSH-format public key line for the sandbox proxy backend identity.

backend_user
string

Local POSIX user that the proxy authenticates as. Defaults to tl-user.

Response

SSH daemon status

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