Skip to content

Instantly share code, notes, and snippets.

@eagleyed
Created June 26, 2020 17:13
Show Gist options
  • Save eagleyed/15edca9778c4aee72b7678da4639e95e to your computer and use it in GitHub Desktop.
Save eagleyed/15edca9778c4aee72b7678da4639e95e to your computer and use it in GitHub Desktop.
SSH first time connection to Digital Ocean Account
Generate the key: ssh-keygen
Point to the directory with your key pair
cd ~/.ssh
locate the pub key for ssh
ssh-copy-id -i [key_name].pub USERNAME@SERVERT_IP
Then
ssh username@serverip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment