Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
+1 vote
4 views
in DevOps and Agile by (29.3k points)

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.pub

Could not open a connection to your authentication agent.

1 Answer

+1 vote
by (50.2k points)

For this problem you could use:

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

Browse Categories

...