Skip to content

Instantly share code, notes, and snippets.

@andreyuhai
Created July 25, 2019 09:25
Show Gist options
  • Save andreyuhai/335694eb880d5e19adfc7c27f3083325 to your computer and use it in GitHub Desktop.
Save andreyuhai/335694eb880d5e19adfc7c27f3083325 to your computer and use it in GitHub Desktop.
Add SSH-keys

Add SSH Keys After Fresh Install

chmod 600 ~/.ssh/id_rsa chmod 700 ~/.ssh

Run ssh-add on the client machine, that will add the SSH key to the agent.

Confirm with ssh-add -l (again on the client) that it was indeed added.

source-1 source-2

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