Thursday, June 9, 2011

Generate ssh keys

By default ssh-keygen generates a RSA private/public key pair.

To generate a DSA Key

ssh-keygen -t dsa -b 1024 

The option -t is for the type of encryption (dsa/rsa)
The option -b is for the number of bits for encryption (1024,2048 etc)

No comments: