How to fix Failed to add the host to the list of known hosts (/home/USER/.ssh/known_hosts).

This is kind of a cheap fix and you should only do it if you are the only person who uses your computer but it is as simple as:

sudo chmod 777 -R ~/.ssh/
Share Button

Tagged under: , ,

Back to top