title: Satis - specify SSH key to git server
body: <p>I have a satis.json file specified like so:</p>
  
  <pre><code>{
      "name": "My organizations Satis Server",
      "homepage": "http://satis.mydomain.org",
      "repositories": [
          {
              "type": "vcs",
              "url": "git@git.mydomain.org:/home/git/packages/MyPackage",
              "options": {
                  "ssh2": {
                      "username": "git",
                      "pubkey_file": "/config/public-key.pub",
                      "privkey_file": "/config/private-key"
                  }
              }
          },
          ...
  </code></pre>
  
  <p>I then try to get satis to update by running the command:</p>
  
  <pre><code>/usr/bin/php /path/to/satis/satis -n build /path/to/satis.json /path/to/location
  </code></pre>
  
  <p>This will completely ignore the fact that I have specified the public key file and the private key file and continue to ask me for a password. If I manually plug in the password each time it works. If I move the ssh keys to <code>.ssh/id_rsa</code> and <code>.ssh/id_rsa.pub</code> and remove the options parameters then it also works. </p>
  
  <h2>Question</h2>
  
  <p>How do I correctly specify the key file for each repo so that I can use different keys for different repositories, rather than relying on one key in <code>.ssh/id_rsa</code></p>