Create an SSH key
How to generate an SSH key
To create a new SSH key, you can do so through the command line tool on a Linux machine (or using the Windows Subsystem for Linux)
Enter the following command to create a key:
In this example, the
ssh-keygencommand creates a new SSH key using the RSA algorithm with a 4096-bit key length.
-Coption adds a comment to the key, which is your email address in this case. The command will prompt you for a file in which to save the key, or accept the default location.