ssh-keygen -t rsa

From wikieduonline
Jump to navigation Jump to search

http://man7.org/linux/man-pages/man1/ssh-keygen.1.html

ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/Users/YOUR_USER/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /Users/YOUR_USER/.ssh/id_rsa
Your public key has been saved in /Users/YOUR_USER/.ssh/id_rsa.pub
The key fingerprint is:
SHA256:ViVROMPZl6BiB6B15FlPjk6TUx8Nxxxxxxx YOUR_USER@YOUR_hostname
The key's randomart image is:
+---[RSA 3072]----+
|      xx+.+**.o+ |
|     o o +*@.oo..|
|    .   = XX+.+  |
|       . * o + . |
|        S .   =.+|
|       .     . B+|
|              . =|
|              Eo=|
|              .=.|
+----[SHA256]-----+

Related[edit]

See also[edit]

Advertising: