Just use the official guide - but all important: save to keychain to retain the authorised ssh-agent across sessions
ssh-add -k ~/.ssh/id_rsa
(I think Mac may be capital -K?)
-K
The key commands involved are
ssh-keygen -t ed25519 -C "youremail@here.com" eval "$(ssh-agent -s)" ssh-add ~/.ssh/id_ed25519 xclip -selection clipboard < ~/.ssh/id_ed25519.pub
In 2020 I moved to GitLab for site generation, where SSH keys are ED25519 not RSA ("more secure and performant")
There was an error while loading. Please reload this page.