Skip to main content
Environments endpoint

Generate SSH Key

POST/ssh-keys/

Example request

application/json
{
  "id": "generated",
  "comment": "test"
}

Handler-checked behavior​

The tested example creates a new key. Choose an unused id: 1–64 ASCII letters, digits, _, or -, starting with a letter or digit. comment is optional. The daemon needs ssh-keygen.

See the Environments guide for related tasks and context.