Virtual Machines uses account-level SSH public keys for instance access control. Keys are referenced during provisioning and reused across instances.
Each key record includes:
DC2 validates public key format on creation. Supported formats include commonly used SSH key types such as RSA and Ed25519.
During instance launch, one account key is assigned for initial SSH access. If a default key is set, it's automatically preselected for new launches.
If you don't have an SSH key yet, generate one locally:
ssh-keygen -t ed25519 -C "your-email@example.com"
This creates two files: id_ed25519 (private key—keep secure) and id_ed25519.pub (public key—upload to DCP).
For RSA keys (alternative):
ssh-keygen -t rsa -b 4096 -C "your-email@example.com"
.pub)Never upload your private key (the file without .pub extension).
Use clear, descriptive names to distinguish keys:
laptop-macos-2026 — Laptop-specific keyci-cd-pipeline — Automated deployment keycontractor-john-2026 — Temporary external accessdev-team-shared — Team development key (if using shared key)Setting a default key simplifies instance launches—it will be pre-selected in the launch dialog for new instances.