Using SSH to connect with Github
Using SSH to connect with Github
Creat your own dir for ssh
mkdir ~/.ssh
chmod 700 ~/.ssh
Generate your Key
cd ~/.ssh
ssh-keygen -t rsa -b 4096 -C "your@gmail.com"
# copy item from id_rsa.pub
cat id_rsa.pub
Set up your Github



Paste your content of the id_rsa.pub to here

Test it
ssh -T git@github.com
git@github.com:krnick/your_repo.git