OneQode

Create an SSH key

Generate SSH keys for secure authentication to your instances

Last updated: 1/23/2026

Generate a new key on your computer

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:

ssh-keygen -t ed25519 -C "[email protected]"

In this example, the ssh-keygen command creates a new SSH key using the Ed25519 algorithm.

The -C option 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.