SSH public key and Bitbucket

So I use Bitbucket to host several private Hg repos, all working great from Windows via Putty and Pageant.

Today I tried to update the local repo.

C:\bin\app>hg pull
sending hello command
sending between command
abort: no suitable response from remote hg!

WTF? Tried different machines, other accounts, same problem.

Bit of Googling… some users report Bitbucket messes up the public keys, at arbitrary times, as they all share the hg user.
Updated the public key on Bitbucket with the SAME value. It even looked different, like it was missing a character. Now it works…

C:\bin\app>hg pull
pulling from ssh://hg@hg.dacsoft.com/dacsoft/bin
searching for changes
no changes found

Go figure.

One thought on “SSH public key and Bitbucket

  • November 27, 2011 at 10:12 am
    Permalink

    Revelation: if they use a single ssh installation with a big .ssh/authorized_users file with different users, perhaps the script which adds new users messes up. Leaves a line out, eats an EOL character, whatever. Then nothing will work. As one who has edited his share…and messed them up.

Leave a Reply