Update tech_docs/ssh-agent.md
This commit is contained in:
@@ -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)"`
|
||||
|
||||
Reference in New Issue
Block a user