Skip to main content

SSH Keys are pairs of sequences of randomly generated bytes that provide the basis of SSH public key cryptography and challenge-response authentication. The sequences are typically stored in files and one of them is referred to as the Public key while the other is the Private key.

SSH Keys are pairs of sequences of randomly generated bytes that provide the basis of SSH public key cryptography and challenge-response authentication. The sequences are typically stored in files and one of them is referred to as the public key while the other is the private key.

SSH Keys can be generated using a number of supported algorithms:

Keys are commonly generated using the widely available ssh-keygen tool, although other forms of key generators exist.

An SSH Key can be visualized by formatting the byte sequence into ASCII art. The following is a rendering of a 521 bit ECDSA key:

+--[ECDSA  521]---+
|     ..oB=.   .  |
|    .    . . . . |
|  .  .      . +  |
| oo.o    . . =   |
|o+.+.   S . . .  |
|=.   . E         |
| o    .          |
|  .              |
|                 |
+-----------------+