- Generate SSH Key ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
- Add SSH key to SSH agent eval "$(ssh-agent -s)" ssh-add ~/.ssh/id_rsa
- Display SSH key (copy this key to GitHub SSH settings) cat ~/.ssh/id_rsa.pub
- Configure git to use SSH for GitHub git remote set-url github git@github.com:username/std-portal.git
- Go to SSH and GPG Keys page on GitHub.
- Paste the SSH key here.
- Push using SSH # git push master