My Profile Photo

Daniel Perez


software engineer interested in programming languages and functional programming


SSH invalid byte sequence

Small memo about an issue I had with Chef knife and Capistrano commands.

I kept receiving the following error

SSHKit::Runner::ExecuteError: Exception while executing as [email protected]: invalid byte sequence in UTF-8

After looking around at my SSH files, I found out that ~/.ssh/known_hosts contained some weird data, which was causing the error. Removing the concerned data fixed the issue for me.

comments powered by Disqus