Hello,
I've been trying to setup SSH keys with git so that I can push to Github without a password.
But it doesn't seem to be working.
So far I've generated a public private key pair using the command: ssh-keygen -t rsa -b 4096 -C "your_email@example.com" (with my personal email of course.) I left the password field empty.
I've uploaded the contents of the public key file ~/.ssh/id_rsa.pub to Github and it accepted it.
After doing these things I tried to do git push but it still asked me for my password. Could this have anything to do with ssh-agent or am I missing something really obvious? I've set this up before on a raspbery pi running rasbian and it worked fine but I can't remember if I'm doing it right or not.
I've been trying to setup SSH keys with git so that I can push to Github without a password.
But it doesn't seem to be working.
So far I've generated a public private key pair using the command: ssh-keygen -t rsa -b 4096 -C "your_email@example.com" (with my personal email of course.) I left the password field empty.
I've uploaded the contents of the public key file ~/.ssh/id_rsa.pub to Github and it accepted it.
After doing these things I tried to do git push but it still asked me for my password. Could this have anything to do with ssh-agent or am I missing something really obvious? I've set this up before on a raspbery pi running rasbian and it worked fine but I can't remember if I'm doing it right or not.