Administration

Generating a modern, secure, and widely supported public/private key pair with ECDSA

Recommended steps for generating a modern, secure, and widely supported public/private key pair using ECDSA

SH3LL
· 3 min read
Send by email
Photo by Michael Dziedzic / Unsplash

Generating a modern, secure, and commonly supported public/private key pair with ECDSA.

Connect with me!

INTRO

Quick and easy reference guide for creating a modern, secure, and widely supported public/private key pair using ECDSA.

CREATE A KEY

This works on both Linux CLI (Command-line interface) and Windows Powershell and is a modern, secure key that works on most systems.

ssh-keygen -t ecdsa -b 521

This command creates a key pair. A public, which you can share and generally ends with .pub, and a private key which you should keep secured.

  • navigate the prompts
  • make sure to secure the key with a password

Once the keys are created, make sure to add the private key to your systems authentication agent with:

Linux

ssh-add "/path/to/private/key"

Windows

ssh-add "\path\to\private\key"

Thanks for reading!

- SH3LL

CONNECT