Create temporary SSH access

Request an expiring connection command for the same session VM. SSH processes operate outside managed-command coordination.

post/v1/sessions/{id}/ssh

Request

  • Base URL
    https://assemble-vms-api.fly.dev
  • URL
    https://assemble-vms-api.fly.dev/v1/sessions/{id}/ssh
  • Auth
    HTTP bearer

Request body

expiresInMinutesinteger

Response

Temporary SSH grant; the command contains a credential.

idstring uuid required
commandstring required

Temporary connection command containing access credentials. Keep it out of shared logs.

expiresAtstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.