Pages

Saturday, March 13, 2010

Create RSA key with ssh-keygen

 Ssh-keygen, by default creates a 2048 bit, rsa protocol 2 key.  There is options for rsa1 and dsa, which you can  use with the -t option (-t=type)  ex: "ssh-keygen -t dsa"  Using the default options in a terminal I type:

~$ ssh-keygen

below is the output
It ask for a passphrase, which is recommended,but you can leave it blank. After that it generates the key and that is it. My use is very vanilla there many other options if you check man "ssh-keygen", I will write another post about using ssh-copy-id to share keys.


I am currently running Linux Mint 8