-
-
Save undefinedzain/6c7dad87ca10a3a8032f802e15663a4f to your computer and use it in GitHub Desktop.
Set Up Git & Generating an SSH key
This file contains 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
git config --global user.name "Undefined Zain" | |
git config --global user.email "[email protected]" | |
ls -al ~/.ssh | |
ssh-keygen -t rsa -b 4096 -C "[email protected]" | |
eval "$(ssh-agent -s)" | |
ssh-add ~/.ssh/id_rsa | |
sudo apt-get install xclip | |
xclip -sel clip < ~/.ssh/id_rsa.pub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment