Last active
September 22, 2023 19:36
-
-
Save ktolutom/81c5349c642f96eb99c0bf04f5672386 to your computer and use it in GitHub Desktop.
ssh for GitHub #git
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
generate private and public key | |
$ cd ~/.ssh | |
$ ssh-keygen -o -t rsa -C "[email protected]" | |
print the public key | |
$ ls | |
$ cat id_rsa.pub | |
copy the public key to Github > Settings > SSH and GPK keys > Add new SSH | |
can now clone the repo | |
git clone git@domain:KTOLUTOM/project.git |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment