Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • The command you issued removes all locally stored keys for the remote host. ssh is a "trust on first use" (TOFU) system. So, if a remote system has changed its host keys or IP address, the "known_hosts" record will not match. Perhaps, an update changed the host keys. Commented Oct 18, 2018 at 17:01
  • Actually I think I just figured it out. My SSH known_hosts are stored in my users local folder. Where as my SSHFS known_hosts are stored in my root directory. This probably happens because when I just use ssh I don't prefix it with sudo, but I do when using SSHFS because I need root permissions to mount to /mnt/. I could probably fix this by creating a sub directory in /mnt/sshfs/ and giving my user read/write access to that one and I'd never have to worry about the /root/.ssh/known_hosts issue. Commented Oct 18, 2018 at 19:17