On a Mac or other Unix-like system, locate your ~/.ssh directory and from that directory run this in the command line:
ssh-keygen -t rsa -b 4096 -C "your_comment"
-t = type (The possible values are 'dsa', 'ecdsa', 'ed25519', or 'rsa')
-b = bits
-C = comment