Start the key generation program. … Enter the path to the file that will hold the key. … Enter a passphrase for using your key. … Re-enter the passphrase to confirm it. … Check the results. … Copy the public key and append the key to the $HOME/.
How do I create a private Windows key?
- Open the PuTTYgen program.
- For Type of key to generate, select SSH-2 RSA.
- Click the Generate button.
- Move your mouse in the area below the progress bar. …
- Type a passphrase in the Key passphrase field. …
- Click the Save private key button to save the private key.
How do I create a private SSH key?
- Run the ssh-keygen command. You can use the -t option to specify the type of key to create. …
- The command prompts you to enter the path to the file in which you want to save the key. …
- The command prompts you to enter a passphrase. …
- When prompted, enter the passphrase again to confirm it.