Skip to content

Instantly share code, notes, and snippets.

@prichter
prichter / gist:6658886
Created September 22, 2013 10:58
Check rsa key generation and upload to bitbucket has been successful
$ ssh -i computername_bitbucket git@bitbucket.org
[Fill in the key password when prompted]
The authenticity of host 'bitbucket.org (131.103.20.168)' can't be established.
RSA key fingerprint is aa:bb:cc:...
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'bitbucket.org,1.13.1.1' (RSA) to the list of known hosts.
Identity added: computername_bitbucket (computername_bitbucket)
PTY allocation request failed on channel 0
logged in as paul@vtsw.
@prichter
prichter / rsa_keys
Created September 22, 2013 10:37
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:
@prichter
prichter / check_install
Created September 22, 2013 10:13
Check out if install has worked
$ rails -v
Rails 3.2.12
$ ruby -v
ruby 1.9.3p392 (2013-02-22 revision 39386) [x86_64-darwin10.8.0]
$ rvm -v
rvm 1.18.10 (master) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]