title: Scripted GitHub setup for private repos on new EC2 instance?
body: <p>Basically, I'm trying to clone private repos (and gists) on a new EC2 instance within a user-data-file.  Currently (post instance launch), I generate a key, add it to my GitHub account, then clone the repos (and manually enter github password).  Should I use something ike gitosis for this?  There must be a better way!</p>
  
  <pre><code># Setup GitHub keys at /home/ubuntu/.ssh/id_rsa
  
      sudo ssh-keygen -t rsa -C $GIT_EMAIL
  </code></pre>
  
  <p>...cp id_rsa.pub into account</p>
  
  <pre><code>git clone repo
  </code></pre>