Skip to main content
Add an SSH public key to your Runpod account for secure Pod access. If no key is provided, a new key pair will be generated automatically.

Example

Add an SSH key from a file:

Flags

string
The SSH public key content to add to your account. This should be the full public key string.
string
The path to a file containing the SSH public key to add. This is typically a .pub file from your SSH key pair.