how to ssh key

for OS X, Unix, Linux:
$ ssh-keygen -b 4096 -f folder/key
default is .ssh/id_rsa

choose a password

example:
$ cat folder/key.pub