Friday, February 5, 2010

How to generate an SSH key in Linux?

You can generate a key in Linux using the ssh-keygen command.
You can run it in command line. You will be asked for a file in which the key should be saved to and for a passphrase (password) for the key:
This command will generate id_rsa public and private keys.

If you need to generate id_dsa keys then you need to run ssh-keygen -t dsa

No comments:

Post a Comment

Contact Me for any help regarding rails/nodejs/php/mysql


Email *

Message *