SSH Keys

Generate and deploy SSH keys, including FIDO2 YubiKey keys and WSL via Windows OpenSSH

Generate a new key with:

ssh-keygen -t ed25519 -C "work-laptop-2026"

Leave the passphrase blank if you want automatic login (no prompt on connect).

Copy the public key to the host:

ssh-copy-id username@remote_host

YubiKeys

For FIDO2 / security-key backed SSH keys, see Securing SSH with FIDO2 (OpenSSH 8.2+ on the client; user verification / PIN can be enforced per operation).

Start generation of a new -sk key. Enter a passphrase if you want one β€” it is optional.

ssh-keygen -t ed25519-sk

If you are already on Linux, copy the key with ssh-copy-id:

ssh-copy-id -i ~/.ssh/id_ed25519_sk.pub username@remote_host

Last updated on

On this page