title: How to git pull from public repo via ssh without a key?
body: <p>I have a public repo, <a href="https://github.com/rlpowell/config" rel="noreferrer">https://github.com/rlpowell/config</a> .  I used to be able to run git pull without any ssh keys (i.e. from cron), and it work work fine, using the git@github.com:rlpowell/config.git URL (i.e. the SSH URL).  This no longer works, and I've no idea why, but it <em>does</em> work for two of my friends.</p>
  
  <p>I would like to be able to git pull a public repo without an ssh key, or at least understand why it doesn't work for me and does for other people.</p>
  
  <p>Here's a friend trying my test case:</p>
  
  <pre><code>$ git clone git@github.com:rlpowell/config.git  ; cd config ; (unset SSH_AUTH_SOCK ; ssh-add -l ; git pull )
  Cloning into 'config'...
  Warning: Permanently added the RSA host key for IP address '192.30.253.113' to the list of known hosts.
  remote: Counting objects: 1061, done.
  remote: Total 1061 (delta 0), reused 0 (delta 0), pack-reused 1061
  Receiving objects: 100% (1061/1061), 544.42 KiB | 495.00 KiB/s, done.
  Resolving deltas: 100% (632/632), done.
  Checking connectivity... done.
  Could not open a connection to your authentication agent.
  Already up-to-date.
  </code></pre>
  
  <p>And here's me doing exactly the same thing:</p>
  
  <pre><code>$ git clone git@github.com:rlpowell/config.git  ; cd config ; (unset SSH_AUTH_SOCK ; ssh-add -l ; git pull )
  Cloning into 'config'...
  remote: Counting objects: 1061, done.
  remote: Total 1061 (delta 0), reused 0 (delta 0), pack-reused 1061
  Receiving objects: 100% (1061/1061), 544.42 KiB | 0 bytes/s, done.
  Resolving deltas: 100% (632/632), done.
  Checking connectivity... done.
  Could not open a connection to your authentication agent.
  Enter passphrase for key '/home/rlpowell/.ssh/id_rsa':
  Permission denied (publickey).
  fatal: Could not read from remote repository.
  
  Please make sure you have the correct access rights
  and the repository exists.
  </code></pre>
  
  <p>(I hit enter at the ssh key password prompt).</p>
  
  <p>In the repo, the .git/config is:</p>
  
  <pre><code>[core]
          repositoryformatversion = 0
          filemode = true
          bare = false
          logallrefupdates = true
  [remote "origin"]
          url = git@github.com:rlpowell/config.git
          fetch = +refs/heads/*:refs/remotes/origin/*
  [branch "master"]
          remote = origin
          merge = refs/heads/master
  </code></pre>
  
  <p>And git config -l is:</p>
  
  <pre><code>$ git config -l
  user.email=rlpowell@digitalkingdom.org
  user.name=Robin Lee Powell
  push.default=matching
  core.repositoryformatversion=0
  core.filemode=true
  core.bare=false
  core.logallrefupdates=true
  remote.origin.url=git@github.com:rlpowell/config.git
  remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
  branch.master.remote=origin
  branch.master.merge=refs/heads/master
  </code></pre>
  
  <p>git version is 2.5.5</p>
  
  <p>strace says the thing actually running ssh is</p>
  
  <pre><code>ssh git@github.com git-upload-pack 'rlpowell/config.git'
  </code></pre>