Skip to content

Instantly share code, notes, and snippets.

@realdubb
Created April 4, 2018 20:50
Show Gist options
  • Save realdubb/a2a743cc738f258077d0074edd446ea5 to your computer and use it in GitHub Desktop.
Save realdubb/a2a743cc738f258077d0074edd446ea5 to your computer and use it in GitHub Desktop.
Configuring ssh keys in new server

Source

Step One—Create the RSA Key Pair

The first step is to create the key pair on the client machine (there is a good chance that this will just be your computer):

ssh-keygen -t rsa

Step Two—Store the Keys and Passphrase

Follow prompts

Step Three—Copy the Public Key

ssh-copy-id user@host

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment