SSH Key
Generate SSH key
in ~/.ssh directoryssh-keygen -t ed25519 -C "your_email@example.com"
If you are using a legacy system that doesn't support the Ed25519 algorithm, use:
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
Ensure the ssh-agent is running
eval "$(ssh-agent -s)"
## Agent pid 60501
Create SSH config file
~/.ssh/configHost *
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/id_ed25519
Add key