Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ssh-keygen ( press enter + enter the passphrase )  


Code Block
titlessh-keygen
collapsetrue
passphrase = ansible123

/project # ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:gm6e/5Cv5nMVEnnoeh5aFOvahjBdCoD4zZy4cJTuLwA root@fd9589e5bc79
The key's randomart image is:
+---[RSA 2048]----+
|.. .     o       |
|o +     = .      |
| + * . . =       |
|E = *.  * .      |
|.+ ..o.*S. .     |
|. o.o +o= .      |
| . .oooO o       |
|  .o..*o=        |
|   .o++*o        |
+----[SHA256]-----+
/project #




RSA:

 -Asymmetric Encryption: Private and Public key
 -#Diffie-Hellman
 -2,048 bits (or 617 decimal digits )
 -Rivest-Shamir-Adleman

...