Update tech_docs/ssh-agent.md

This commit is contained in:
2024-05-28 06:08:40 +00:00
parent ead0343753
commit f2c4c065f1

View File

@@ -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! Heres a detailed explanation of each step and how to use them:
### `eval "$(ssh-agent -s)"`