ssh-keygen -t rsa
Press enter when it prompts for file location Enter a passphrase (simple one will do - it's only ever important if your private key (the one on your machine) gets compromised)
This will create a .ssh/ folder with two files - id_rsa and id_rsa.pub in your home directory.