Generating new ssh-key

In bash:

ssh-keygen -t rsa -b 4096 -C "your_email@example.com"

Add the private key to the ssh-agent:

ssh-add ~/.ssh/id_rsa