From f2c4c065f145e75ac9127892db57d842add9be4d Mon Sep 17 00:00:00 2001 From: medusa Date: Tue, 28 May 2024 06:08:40 +0000 Subject: [PATCH] Update tech_docs/ssh-agent.md --- tech_docs/ssh-agent.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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)"`