guozhendeMacBook-Pro:~ lucky$ ssh-keygen -t rsa -C 'your email@domain.com'
Generating public/private rsa key pair.
Enter file in which to save the key (/Users/lucky/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /Users/lucky/.ssh/id_rsa.
Your public key has been saved in /Users/lucky/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:6HYPS6df5zDHoXRaVgAbBaXMsc/tS8YGSVZWJQ19+gM your email@domain.com
The key's randomart image is:
+---[RSA 2048]----+
| ==**=|
| o *oo+|
| *o .o|
| . oEoo |
| . S .oO..|
| . . Bo+.|
| o + . * +=o|
| . o * . *+ .|
| o.o .. |
+----[SHA256]-----+
评论