Connect with SSH
Add your public key to the account (like POST /v1/gpu/ssh-keys), prepare
SSH inside this running instance’s workload with it, and receive the command
to connect: ssh -J ssh.empiriolabs.ai:<port> root@gpu-<instance_id>.
This call is optional. Any key on your account connects with that command directly; the first connection to an instance then takes a minute longer while SSH is prepared. SSH has no separate charge. Agent, X11, and port forwarding are disabled.
Authentication
Pass your EmpirioLabs API key as a bearer token. The Anthropic-style
x-api-key header is also accepted on every endpoint.
Path parameters
Request
A single-line ssh-ed25519 or ssh-rsa public key, without options or line breaks. RSA keys must be 2048 to 8192 bits.
Response
SSH is prepared. Run command to connect.
Retained for existing integrations of the earlier WebSocket transport. Use command.
Lifetime of ticket in seconds.
