Adds a new SSH key to your Vultr account for secure authentication with your instances.
The vultr-cli ssh-key create
command adds a new SSH key to your Vultr account, enabling secure authentication when connecting to your Vultr instances.
$ vultr-cli ssh-key create [flags]
# Full Example
$ vultr-cli ssh create --name="ssh key name" --key="ssh-rsa AAAAB3NzaC1yc...."
# Shortened with alias commands
$ vultr-cli s c -n="ssh key name" -k="ssh-rsa AAAAB3NzaC1yc...."
Shorthand | Long Version | Description |
---|---|---|
-k | --key | SSH public key (in authorized_keys format) |
-n | --name | Name of the SSH key |
No comments yet.