Skip to content

Instantly share code, notes, and snippets.

@youngkin
Created March 13, 2020 17:22
Show Gist options
  • Save youngkin/2da3cbf21401ee8100e6182d142d2b52 to your computer and use it in GitHub Desktop.
Save youngkin/2da3cbf21401ee8100e6182d142d2b52 to your computer and use it in GitHub Desktop.
Create an SSH key
ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/pi/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/pi/.ssh/id_rsa.
Your public key has been saved in /home/pi/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:aXJj4P/GE24a1vSQbwXhISxZqRvD1RhFOqFXz85Y4Eg pi@pi-node1
The key's randomart image is:
+---[RSA 2048]----+
| +EBB |
| oo=O.* |
| ...+= + + |
| . .=o o * |
| o S++ . + |
| *.+.+ . |
| +o..+ |
| . o*. |
| .+.. |
+----[SHA256]-----+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment