diff --git a/tech_docs/ssh-agent.md b/tech_docs/ssh-agent.md index a8b544e..909a08c 100644 --- a/tech_docs/ssh-agent.md +++ b/tech_docs/ssh-agent.md @@ -1,3 +1,15 @@ +ssh-keygen -t ed25519 -C "your_email@example.com" +# Press Enter to accept the default file location +# Enter and confirm a passphrase (recommended) + +eval "$(ssh-agent -s)" +ssh-add ~/.ssh/id_ed25519 +pbcopy < ~/.ssh/id_ed25519.pub +# Now paste the copied public key into the relevant service + + +--- + Certainly! Here’s a detailed explanation of each step and how to use them: ### `eval "$(ssh-agent -s)"`