CARVIEW |
Select Language
HTTP/2 301
date: Wed, 23 Jul 2025 22:37:56 GMT
content-type: text/html
location: /reference/doctl/reference/compute/ssh-key/
x-frame-options: ALLOW-FROM https://marina.digitalocean.com/
x-xss-protection: 1; mode=block
content-security-policy: frame-ancestors https://amd.digitalocean.com/ https://amd.s2r1.internal.digitalocean.com/ https://localdev.internal.digitalocean.com https://cloud.s2r1.internal.digitalocean.com https://cloud.digitalocean.com https://digitaloceaninc.lookbookhq.com
x-content-security-policy: frame-ancestors https://amd.digitalocean.com/ https://amd.s2r1.internal.digitalocean.com/ https://localdev.internal.digitalocean.com https://cloud.s2r1.internal.digitalocean.com https://cloud.digitalocean.com https://digitaloceaninc.lookbookhq.com
x-do-app-origin: 66b87bdb-ceab-4f7c-975f-da2affb6d13a
cache-control: private
x-do-orig-status: 301
cf-cache-status: DYNAMIC
set-cookie: __cf_bm=1b50DfFW0n4MmhTxiCdLMda.9BaamlkwR2LbyEYToyk-1753310276-1.0.1.1-wiWWiFYY1ZC6v.7BOEfd2BX5o76qFjlTmEUKmqb.54DU8sHtCamXkow1X5E_kx6YsxTIM1sMbaR6pdZIuLDJH_RmruP1uPeOO1ePI8opMbg; path=/; expires=Wed, 23-Jul-25 23:07:56 GMT; domain=.ondigitalocean.app; HttpOnly; Secure; SameSite=None
vary: Accept-Encoding
set-cookie: __cf_bm=Ek5g_qnhDJSfPSfbntTgjxnkTcMUsy98cZjQWPUUung-1753310276-1.0.1.1-GbH1Li6n_4T48TgleWVhvUY5N.aRFBs8hcOEEYtbn2C6hc.ay3xny2e_5hwhxQBpMyaOlIouNIQf87vVS9XQRFtg0J9d8QcQFKPE51XhaRQ320dzz.aIAnfpNKiYcR.f; path=/; expires=Wed, 23-Jul-25 23:07:56 GMT; domain=.digitalocean.com; HttpOnly; Secure; SameSite=None
server: cloudflare
cf-ray: 963eaa48ac5ee9c3-BLR
HTTP/2 200
date: Wed, 23 Jul 2025 22:37:57 GMT
content-type: text/html
last-modified: Wed, 23 Jul 2025 20:04:15 GMT
vary: Accept-Encoding
x-frame-options: ALLOW-FROM https://marina.digitalocean.com/
x-xss-protection: 1; mode=block
content-security-policy: frame-ancestors https://amd.digitalocean.com/ https://amd.s2r1.internal.digitalocean.com/ https://localdev.internal.digitalocean.com https://cloud.s2r1.internal.digitalocean.com https://cloud.digitalocean.com https://digitaloceaninc.lookbookhq.com
x-content-security-policy: frame-ancestors https://amd.digitalocean.com/ https://amd.s2r1.internal.digitalocean.com/ https://localdev.internal.digitalocean.com https://cloud.s2r1.internal.digitalocean.com https://cloud.digitalocean.com https://digitaloceaninc.lookbookhq.com
x-do-app-origin: 278230ee-e6a3-11ec-b1dc-0c42a19a82a7
cache-control: private
x-do-orig-status: 200
cf-cache-status: DYNAMIC
set-cookie: __cf_bm=SXK2IjxwMJkF3HsVS1dDrvZFqk.OfNbRnL6cO7Vl6Yo-1753310277-1.0.1.1-NOY_Yg_sfQEA2Ym97Waj.3Wx07wuitiLkfGBF.KORl0I7wvDZokhQx3X0FSFUmnQGTuM7K6lbhZxmzC8.NqsBknEWp3.VQipbSPOnTG5WaQ; path=/; expires=Wed, 23-Jul-25 23:07:57 GMT; domain=.ondigitalocean.app; HttpOnly; Secure; SameSite=None
server: cloudflare
cf-ray: 963eaa4dcfc2e9c3-BLR
content-encoding: gzip
doctl compute ssh-key | DigitalOcean Documentation
doctl compute ssh-key
Generated on 23 Jun 2025
from doctl
version
v1.131.0
Aliases
k
Description
The sub-commands of doctl compute ssh-key
manage the SSH keys on your account.
DigitalOcean allows you to add SSH public keys to the interface so that you can embed your public key into a Droplet at the time of creation. Only the public key is required to take advantage of this functionality. Note that this command does not add, delete, or otherwise modify any ssh keys that may be on existing Droplets.
Flags
Option | Description |
---|---|
--help , -h |
Help for this command |
Related Commands
Command | Description |
---|---|
doctl compute | Display commands that manage infrastructure |
doctl compute ssh-key create | Create a new SSH key on your account |
doctl compute ssh-key delete | Permanently delete an SSH key from your account |
doctl compute ssh-key get | Retrieve information about an SSH key on your account |
doctl compute ssh-key import | Import an SSH key from your computer to your account |
doctl compute ssh-key list | List all SSH keys on your account |
doctl compute ssh-key update | Update an SSH key's name |
Global Flags
Option | Description |
---|---|
--access-token , -t |
API V2 access token |
--api-url , -u |
Override default API endpoint |
--config , -c |
Specify a custom config file Default: |
--context |
Specify a custom authentication context name |
--http-retry-max |
Set maximum number of retries for requests that fail with a 429 or 500-level error
Default: 5 |
--http-retry-wait-max |
Set the minimum number of seconds to wait before retrying a failed request
Default: 30 |
--http-retry-wait-min |
Set the maximum number of seconds to wait before retrying a failed request
Default: 1 |
--interactive |
Enable interactive behavior. Defaults to true if the terminal supports it (default false)
Default: false |
--output , -o |
Desired output format [text|json] Default: text |
--trace |
Show a log of network activity while performing a command Default: false |
--verbose , -v |
Enable verbose output Default: false |
We can't find any results for your search.
Try using different keywords or simplifying your search terms.