Skip to content

Instantly share code, notes, and snippets.

@ezequiel9
Created November 7, 2020 23:12
Show Gist options
  • Save ezequiel9/dcc20f552308edee8516be41da78533b to your computer and use it in GitHub Desktop.
Save ezequiel9/dcc20f552308edee8516be41da78533b to your computer and use it in GitHub Desktop.
How to Upload an SSH Public Key to an Existing Droplet | Digital Ocean
cat ~/.ssh/id_rsa.pub | ssh user@droplet-ip "cat >> ~/.ssh/authorized_keys"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment