docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent
6 Users
0 Comments
42 Highlights
0 Notes
Top Highlights
When you generate an SSH key, you can add a passphrase
Whenever you use the key, you must enter the passphrase
you don't want to enter the passphrase every time you use the key, you can add your key to the SSH agent
When you're prompted to "Enter a file in which to save the key"
$ eval "$(ssh-agent -s)"
ssh-add ~/.ssh/
After you've checked for existing SSH keys, you can generate a new SSH key to use for authentication, then add it to the ssh-agent.
You can access and write data in repositories on GitHub.com using SSH (Secure Shell Protocol). When you connect via SSH, you authenticate using a private key file on your local machine.
You can generate a new SSH key on your local machine. After you generate the key, you can add the key to your account on GitHub.com to enable authentication for Git operations over SSH.
Before adding a new SSH key to the ssh-agent to manage your keys, you should have checked for existing SSH keys and generated a new SSH key.
ssh-keygen -t ed25519 -C "your_email@example.com"
ssh-keygen -t ed25519 -C "your_email@example.com"
Generating a new SSH key
ssh-keygen -t ed25519 -C "your_email@example.com"
GitHub email address.
press Enter to accept the default file location
type a secure passphrase
Ensure the ssh-agent is running
"Auto-launching the ssh-agent"
or start it manually
Glasp is a social web highlighter that people can highlight and organize quotes and thoughts from the web, and access other like-minded people’s learning.