This is the problem: I use Git Shell installed with GitHub for Windows.
I have 3 ssh keys inside
- github_rsa (this is the key generated by github for windows)
- id_rsa (generated by me)
- tm_rsa (generated by me)
I inserted the key with this command:
ssh-add ~/.ssh/github_rsa ssh-add ~/.ssh/id_rsa ssh-add ~/.ssh/tm_rsa
Everytime I reboot the computer, ssh keeps forgetting the keys. if i do this command
ssh-add -L, it shows only one key, usually
How can I avoid having to enter the keys each time?
I think you have to add it to your git bash shell, in .bashrc
eval `ssh-agent` ssh-add
Answered By – Stuart Siegler