Skip to content

Instantly share code, notes, and snippets.

@ctorgalson
Created November 2, 2014 16:52
Show Gist options
  • Save ctorgalson/a62655267a966a6b0331 to your computer and use it in GitHub Desktop.
Save ctorgalson/a62655267a966a6b0331 to your computer and use it in GitHub Desktop.
Generate a passphrase protected 4096 bit rsa keypair with a custom name
Username$ ssh-keygen -b 4096 -t rsa -f ~/.ssh/demo_key
Generating public/private rsa key pair.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /Users/Username/.ssh/demo_key.
Your public key has been saved in /Users/Username/.ssh/demo_key.pub.
The key fingerprint is:
dd:6b:c9:de:d0:df:3c:74:92:97:1c:97:7b:7d:9b:fb Username@Username.local
The key's randomart image is:
+--[ RSA 4096]----+
| |
| |
| .|
| . . o.|
| S . . ..*|
| . +o=*|
| * oo*|
| o o *.|
| . ..E|
+-----------------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment