The Secure Shell (SSH) protocol is a method for securely sending commands to a computer over an unsecured network. SSH uses cryptography to authenticate and encrypt connections between devices.
You can create SSH keys to be used when connecting with a source control host such as Github.
How to use the ssh-agent?
Check if the ssh-agent is running
ssh-agent
Start the ssh-agent in the background (if necessary)
eval "$(ssh-agent -s)"
List keys stored in the ssh-agent
ssh-add -L
Remove all keys from the ssh-agent
ssh-add -D
Generate a new SSH key
ssh-keygen -t ed25519 -C "petermccready2@gmail.com"
Add an SSH key to the ssh-agent
ssh-add ~/.ssh/id_ed25519