ssh-keygen -b 4096 -t rsa -C My-Email -f filename
If you have not executed the command within the .ssh folder, you should move the created files:
mv filename filename.pub .ssh
Finally, you can add the keys to you local Shell session with:
1 ssh-add .ssh/filename