Skip to content

Instantly share code, notes, and snippets.

@p3jitnath
Last active May 15, 2020 21:24
Show Gist options
  • Select an option

  • Save p3jitnath/225e57842fdaa122f80ec23b7a0b584c to your computer and use it in GitHub Desktop.

Select an option

Save p3jitnath/225e57842fdaa122f80ec23b7a0b584c to your computer and use it in GitHub Desktop.
Configure SSH
ssh-keygen
ssh-copy-id username@host
# OR
cat ~/.ssh/id_rsa.pub | ssh username@host "mkdir -p ~/.ssh && touch ~/.ssh/authorized_keys && chmod -R go= ~/.ssh && cat >> ~/.ssh/authorized_keys"
# Check your GitHub SSH
ssh -T [email protected]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment