Attach public key
VPS_attachPublicKeyV1Attach existing public keys to a VPS to enable SSH key authentication. Supports attaching multiple keys to a single virtual machine for secure access.
Instructions
Attach existing public keys from your account to a specified virtual machine.
Multiple keys can be attached to a single virtual machine.
Use this endpoint to enable SSH key authentication for VPS instances.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Public Key IDs to attach | |
| virtualMachineId | Yes | Virtual Machine ID |