So you don’t have ssh keys in your github account or use https instead ssh. Let’s start from begining:
- Create ssh key, you can specify password and key location and name (the default is
~/ssh/id_rsa
), add comment or specify other options, see documentation:
ssh-keygen -c "comment"
- Add your key to ssh-agent
eval $(ssh-agent)
ssh-add ~/.ssh/id_rsa
- Setup your git if you not done yet:
git config --global user.name "your github name"
git config --global user.email "your@git.email"
- Go to your github account settings and add key, you copy here content of
~/.ssh/id_rsa.pub
file (or other if you specified other option above):
- Clone your github repo via ssh:
Gnome keyring have nothing to do here.