Back
I'm new to Github and Generating SSH Keys look a necessity. I successfully created SSH Key but when I'm going to add it to the ssh-agent
ssh-add ~/.ssh/id_rsa.pubCould not open a connection to your authentication agent.
ssh-add ~/.ssh/id_rsa.pub
Could not open a connection to your authentication agent.
For this problem you could use:
exec ssh-agent bash eval ssh-agent -sssh-add ~/.ssh/id_rsa
exec ssh-agent bash
eval ssh-agent -s
ssh-add ~/.ssh/id_rsa
These commands will help in creating and adding ssh keys in ssh-agent.
31k questions
32.8k answers
501 comments
693 users