Generate ed25519 SSH key
Generate a modern, secure ed25519 key pair. Press Enter for default location, optionally set a passphrase.
Generates an Ed25519 SSH key pair. Ed25519 keys are shorter, faster, and more secure than the older RSA-2048 keys. The -C flag adds a comment to identify the key in authorized_keys files.
When you need this: When setting up a new machine for GitHub, server access, or any SSH-based service.
Variables
Usually your email address or machine name to identify the key later.
Command
5 views
0 copies
Related in this category
Log in to save
Free account — save snippets into your own collections.