Blog of Raivo Laanemets

Software development and personal stories.

Git and SSH: key_read: uudecode XXX failed

On 2014-05-18

My git operations inside a docker container started to output an error:

key_read: uudecode XXX failed.

This will happen when the ~/.ssh/known_hosts file of the user has no empty line at the end. I got into this situation while setting up a project development environment in docker.