Mint a short-lived SSH password token for this sandbox
POST /v1/sandboxes/{id}/ssh-token
The token is valid for 10 minutes and is used as the SSH password; the username is the sandbox id. Public keys registered under /v1/ssh-keys also work without a token. The gateway allows interactive shells, single commands, SFTP and local forwarding (ssh -L) to the sandbox itself only (destination localhost, 127.0.0.1, ::1 or the sandbox id). Remote forwarding and agent forwarding are refused. Below the Enterprise Cloudflare plan the client IP is not visible to the gateway and is recorded as unavailable. SSH is served from one region (config sshRegion, env SSH_REGION); a sandbox in any other region gets 409 with the problem slug conflict and a detail naming the SSH region.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Sandbox ids are lowercase: sbx_ followed by 16 characters from [a-z0-9]. Hostname labels derived from them are therefore safe to compare after lowercasing.
Responses
Section titled “ Responses ”Token. Use it as the SSH password; the username is the sandbox id.
object
The sandbox id
Use as the SSH password
Not found
RFC 9457 problem document
object
https://docs.wardcase.com/errors/<slug>. The slug is a stable machine code (PROBLEM_TYPES in @vivarium/contracts).
Field-level validation errors
object
The resource is not in a state that allows this
RFC 9457 problem document
object
https://docs.wardcase.com/errors/<slug>. The slug is a stable machine code (PROBLEM_TYPES in @vivarium/contracts).
Field-level validation errors