ssh-keygen

ssh-keygen is a command line tool to create SSH keys. To generate a new SSH key execute the following command:

ssh-keygen -t ed25519 -C {email}

When prompted to “Enter a file in which to save the key”, press Enter to accept the default file location. Otherwise, if a different name or located is desired, a custom name can be specified. The default directory for storing SSH keys is ~/.ssh/. Press Enter until the file is generated.