Box
Configure box SSH key
Adds an OpenSSH public key to the running Box so the caller can SSH as user user.
post/boxes/{boxId}/sshkey
Request
- Base URLhttps://ascii.dev/api/box/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
boxIdstring required
Public Box id returned by create/list/get box calls.
Request body
Example request
{
"key": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAA... user@host"
}Response
SSH key setup result.
Example response
{
"ok": true,
"sshUser": "user"
}Changes
No recorded changes to this operation across all 1 revision of this API.