Generate SSH key
Ed25519 uses elliptic curve cryptography with good security and performance.
Create new key
or if you prefer email address
Start the SSH agent in the background:
Update your ~/.ssh/config
:
Add the private key to the SSH agent on macOS:
Copy public key to clipboard
Once you have created a new SSH public key, this key can be copied to the .ssh/authorized_keys
file on remote hosts
to allow remote login or upload your key to GitHub