
id_ed25519.pub – public key (a similar RSA key is called id_rsa.pubĪfter the SSH keys are generated, you can add your private key to the SSH Agent service, which allows you to conveniently manage private keys and use them for authentication.id_ed25519 – private key (if you generated an RSA key, the file will be named id_rsa ).ssh directory in the profile of a current Windows user ( %USERPROFILE%\.ssh) and generate 2 files: Your public key has been saved in C:\Users\myuser/.ssh/id_ed25519.pub.

Your identification has been saved in C:\Users\myuser/.ssh/id_ed25519.

Generating public/private ed25519 key pair.Įnter file in which to save the key (C:\Users\myuser/.ssh/id_ed25519):Įnter passphrase (empty for no passphrase): I did not enter a passphrase (not recommended). If you specify the password, you will have to enter it each time you use this key for SSH authentication. You will be prompted to provide a password to protect the private key. Currently, it is recommended to use ED25519 instead of RSA keys.

By default, the ssh-keygen tool generates RSA 2048 keys.
