SSH Login fails with "hash mismatch" on server, "missing begin marker" on client

  • Posted on: 21 November 2015
  • By: agittins

This was an odd one. Recently I was setting up key-based ssh access for a server and the client was failing to connect with the generic "Permission denied (publickey,gssapi-keyex,gssapi-with-mic)." error.

I checked the server log (Centos, so /var/log/secure) and found an interesting "error: hash mismatch" message.

Using -v to get debugging info on the client end also gave me a message of "key_parse_private2: missing begin marker" - this was a red-herring and I suspect it happens often even when connections are working just fine.

Royal Croquet Club 15/11/2015 - Je suis, Paris

  • Posted on: 15 November 2015
  • By: agittins
Deck chairs and Red White and Blue Treasury buildilng - Je suis, Paris. 15/11/2016
QPAC - Je suis, Paris. 15/11/2016
New Growth - Je suis, Paris. 15/11/2016

I caught the tail-end of the Royal Croquet Club event at Southbank, on November 15 2015. This was just two days after the Paris Terrorist Attacks, so several buildings were lit up in Red, White and Blue. Coincidentally, Les Miserables was still in season at QPAC as well. That and the deck chairs all sort of tied together in some sort of strange synchronistic tableau.

Pages