title: Adding SSH Keys to Windows Azure
body: <p>I'm trying to setup continuous deployment for an Azure website using bitbucket.</p>
  
  <p>The problem is I'm using a submodule (which I own) that Azure doesn't have permission to, because it doesn't add that by default.</p>
  
  <p>I'm trying to figure out how to add an SSH key so that Azure can connect and get the submodule.</p>
  
  <p>Steps I've taken.</p>
  
  <ol>
  <li><p>Created a New Public/Private Key with PuttyGen, Added the public key to my bitbucket account under the name Azure</p></li>
  <li><p>FTPed into Azure, and added both the public and private key files (.ppk) to the .ssh directory (yeah I didn't know which one I was suppose to add).  They are named azurePrivateKey.ppk, and azurePublicKey.</p></li>
  <li><p>Updated my config file to look like this</p>
  
  <pre><code> HOST *
  StrictHostKeyChecking no
  
  Host bitbucket.org
  HostName bitbucket.org
  PreferredAuthentications publickey
  IdentityFile ~/.ssh/azurePrivateKey.ppk
  </code></pre>
  
  <p>(no clue if that's right)</p></li>
  <li><p>Updated my Known Hosts to look like this</p>
  
  <pre><code>bitbucket.org,131.103.20.168, &lt;!--some key here...it was here when i opened the file, assuming it's the public key for the repo i tried to add--&gt;
  bitbucket.org,131.103.20.168, &lt;!--the new public key i tried to add--&gt;
  </code></pre></li>
  </ol>
  
  <p>And I still get the same error, no permission to get submodule.  So i'm having trouble figuring out which step I did incorrectly as I've never done this before.</p>