flâneur — a map of the web's best reading

What is ssh-keygen & How to Use It to Generate a New SSH Key?

ssh.com · 2,108 words · saved by 1 readers

Ssh-keygen is a tool for creating new authentication key pairs for SSH. Such key pairs are used for automating logins, single sign-on, and for authenticating hosts.

How to Use ssh-keygen to Generate a New SSH Key? This page is about the OpenSSH version of ssh-keygen . For Tectia SSH , see here . If you wish to generate keys for PuTTY , see PuTTYgen on Windows or PuTTYgen on Linux . Contents What Is ssh-keygen? SSH Keys and Public Key Authentication Creating an SSH Key Pair for User Authentication Choosing an Algorithm and Key Size Specifying the File Name Copying the Public Key to the Server Adding the Key to SSH Agent Creating Host Keys Using X.509 Certificates for Host Authentication Using OpenSSH's Proprietary Certificates Key Management Requires Atten

Explore this link on the map →

related reading