Skip to content

Commit

Permalink
Move the SSH setup out of bash script. Not sure why ssh-keygen causes…
Browse files Browse the repository at this point in the history
… the bash script to exit
  • Loading branch information
Jason Morrison committed May 2, 2011
1 parent 21da6e2 commit ed5bdc1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ Mac OS X

First, install [XCode](http://itunes.apple.com/us/app/xcode/id422352214?mt=12&ls=1). ($4.99, requires OS X 10.6.6 or higher)

Set up your SSH key if you haven't yet:

ssh-keygen -t rsa

Then, run this one-liner:

bash < <( curl -s https://github.com/thoughtbot/laptop/raw/master/mac )
Expand All @@ -17,6 +21,10 @@ Ubuntu

First, install [Ubuntu](http://www.ubuntu.com/download).

Set up your SSH key if you haven't yet:

ssh-keygen -t rsa

Then, run this one-liner:

bash < <( curl -s https://github.com/thoughtbot/laptop/raw/master/ubuntu )
Expand Down
3 changes: 0 additions & 3 deletions mac
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
#!/usr/bin/env bash

echo "Setting up SSH keys. Press enter at each prompt ..."
ssh-keygen -t rsa

echo "Copying public key to clipboard. Paste it into your Github account ..."
cat ~/.ssh/id_rsa.pub | pbcopy
open https://github.com/account/ssh
Expand Down
3 changes: 0 additions & 3 deletions ubuntu
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
#!/usr/bin/env bash

echo "Setting up SSH keys. Press enter at each prompt ..."
ssh-keygen -t rsa

echo "Copying public key to clipboard. Paste it into your Github account ..."
cat ~/.ssh/id_rsa.pub | xclip
open https://github.com/account/ssh
Expand Down

0 comments on commit ed5bdc1

Please sign in to comment.