Skip to content

Instantly share code, notes, and snippets.

@prichter
Created September 22, 2013 10:37
Show Gist options
  • Save prichter/6658763 to your computer and use it in GitHub Desktop.
Save prichter/6658763 to your computer and use it in GitHub Desktop.
Prepare directory and generate rsa keys
$ mkdir ~/.ssh
$ cd ~/.ssh
$ ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter the file in which to save the key (~/.ssh/id_rsa): computername_bitbucket
Enter passphrase (empty for no passphrase): <very secret password>
Enter same passphrase again:
Your identification has been saved in computername_bitbucket.
Your public key has been saved in computername_bitbucket.pub.
The key fingerprint is:
aa:bb:cc:dd:22:33:aa:bb:cc:... paul@vtsw
The key's randomart image is:
+--[ RSA 2048]----+
| |
| |
| |
| |
| |
| /-\ |
| | |
| . . |
|:-) |
+-----------------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment