I began getting a strange error message from git earlier this week:
key_read: uudecode (random SSH key junk here) ssh-rsa (more random SSH key junk here) failed
The error message only showed up when I ran
git pull. Google didn’t find much to help me, but acting on a hunch I removed the IP address of my git repo from my known hosts. The error immediately went away.
If you’re getting the same message, determine the IP address or domain name of your git repo. Search for those values in your
~/.ssh/known_hosts file and remove them. You should be good to go after that.