1

I follow this guide for adding SSH deploy keys:

GitHub / Generating a new SSH key and adding it to the ssh-agent (Linux)

But every time I want to use them for a git pull, I need to run below again:

eval "$(ssh-agent -s)" ssh-add ~/.ssh/id_ed25519 

How do I make the server/ssh-agent remember the deploy keys?

2
  • 1
    Add those in the .bash_profile or .bashrc Commented Apr 6, 2023 at 10:32
  • Worked out nicely, thanks. would you like to post it as an answer? Commented Apr 6, 2023 at 19:18

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.