Skip to main content
⚑ OpenDevDocs
SSH
toolssshReferenceBeginner

Generate ED25519 SSH Key (ssh-keygen)

Create a secure, modern Ed25519 elliptic-curve SSH keypair for GitHub, GitLab, and remote server access.

Verified: 2026-09-30
Tested on:openssh 9.x
Platforms:
linuxmacoswindows
#ssh#security#keys#git

Command

ssh-keygen -t ed25519 -C "your_email@example.com"


Short Description

ssh-keygen generates and authenticates SSH cryptographic keys. Using the modern ed25519 elliptic curve algorithm produces shorter keys with superior security and faster signature generation than legacy RSA.


Step-by-Step Generation

On this page