How to configure ssh key for Github First generate a new key by running: ssh-keygen -t rsa -b 4096 -C "[email protected]" Enter a file in which to save the key or press Enter to save using defaults Then add yout ssh key to your ssh-agent eval $(ssh-agent -s)