Skip to content

Instantly share code, notes, and snippets.

@pvillard31
Last active July 2, 2019 12:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pvillard31/c05e974ae39915912e5d2f8ba0e6553f to your computer and use it in GitHub Desktop.
Save pvillard31/c05e974ae39915912e5d2f8ba0e6553f to your computer and use it in GitHub Desktop.
Generate SSH key pairs
$ ssh-keygen -t rsa -b 4096 -m PEM -C "NiFi Registry"
Generating public/private rsa key pair.
Enter file in which to save the key (~/.ssh/id_rsa): ~/temp/id_rsa
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in ~/temp/id_rsa.
Your public key has been saved in ~/temp/id_rsa.pub.
The key fingerprint is:
SHA256:/hu6FZLvcvDigP4ixPFPEGzfpY1RHOoTRytjqYOoYHo NiFi Registry
The key's randomart image is:
+---[RSA 4096]----+
| . o+. |
| + .+o. |
| . o .B*o |
| .....++*. |
|.o.o..o S . |
|+.o ...o.+ . |
|o.E .o. .o+ |
| .... ..o=o. |
| ..o..+=+. |
+----[SHA256]-----+
$ ls
id_rsa id_rsa.pub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment