Creating Private or Public Key

Bookmark and Share
Now it's time to make a second key is required. Use ssh-keygen to create a Authentication Key will be used with ssh (1).

$ Ssh-keygen-t dsa

Option-t is needed to define enkrip method that will be used on the key-pair (public / private key) that will be made. You can select or dsa as a method enkrip rsa key-pair. Next you are asked the where the key will be saved. Press ENTER only if you want stored in the key the default ~ / .ssh / id_dsa

Enter passphrase (empty for no passphrase):
Enter same passphrase again:

You are requested to provide your password for the key that will generate in - twice (the last password is used to ensure is in accordance with the wishes You). As described previously,This password will be used to ensure the user key is are entitled to use it. Process generate key-pair ate time not too long, although depending on processor speed your machine. Once the process is complete keypair akan stored in the directory ~ /. ssh as ~. / ssh / id_dsa for private key and the ~ / .ssh / id_dsa.pub to public key.


{ 0 komentar... Views All / Send Comment! }