GitHub Setup
Zhu, Justin

GitHub Setup
Thu, Jan 3, 2019


Setup

Setting up GitHub and Git on the terminal is pretty important.

Checking available SSH keys

First we check if existing SSH keys are present:

ls -al ~/.ssh

Generate a new SSH Key

Now we generate a new SSH Key

ssh-keygen -t rsa -b 4096 -C "justinthezhu@gmail.com"

Adding SSH key to ssh-agent

eval "$(ssh-agent -s)"
ssh-add -K ~/.ssh/id_rsa

Modifying passphrase in the keychain

Adding the SSH key to your GitHub account