Generate a new ssh key: ssh-keygen -t rsa -b 4096 -C "[email protected]"
Ensure agent is running: eval $(ssh-agent -s)
Add key to ssh agent: ssh-add ~/.ssh/id_rsa
Copy key to clipboard on windows: clip < ~/.ssh/id_rsa.pub
Copy key to clipboard on mac: pbcopy < ~/.ssh/id_rsa.pub
Add the key to GitHub and other platforms as needed.
Add GitHub to list of SSH hosts: ssh –T [email protected]
Other Git servers: ssh -T [email protected]