Last active
May 15, 2020 21:24
-
-
Save p3jitnath/225e57842fdaa122f80ec23b7a0b584c to your computer and use it in GitHub Desktop.
Configure SSH
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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