Your browser (Internet Explorer 6) is out of date. It has known security flaws and may not display all features of this and other websites. Learn how to update your browser.
X

[Solved] Failed to add the host to the list of known hosts on Ubuntu

I just recently started noticing that I couldn't add new host to the list of known hosts on my Ubuntu box and I was wondering what must have gone wrong. Anyway for documentation purposes, I ran below code on my terminal and it solved the issue. Hehehe

sudo chown -v $USER ~/.ssh/known_hosts

Hope this helps someone.


comments powered by Disqus