Ssh keeps forgetting keys
This is the problem: I am using the Git Shell installed from GitHub for Windows. I have 3 ssh keys inside C:\Users\MyName\.ssh
:
- 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 using this command:
ssh-add ~/.ssh/github_rsa
ssh-add ~/.ssh/id_rsa
ssh-add ~/.ssh/tm_rsa
Every time I restart my computer ssh keeps forgetting keys. if i do this command ssh-add -L
it only displays one key, usually github_rsa
.
How can I avoid having to enter keys every time?
+3
source to share