I'm moving this from wishlist to legitimate bug because it used to be that the file contained hostnames, so even if you didn't notice the line number you could grep for the machine or its ip. Now this info appears to be hashed so the line number is the only way to know.
It would be nice to have some mechanism to update the known_hosts file when a server has changed identities other than having to hand edit this file. For many users the list of hashed data is going to look like line noise. The error message also says "you have requested strict checking", however this is misleading - *you* didn't request it, it's the default setting (at least, on Ubuntu). I think the friendliest way to handle this would be something like: An RSA host key for this server was not found in /home/scott/.ssh/known_hosts! To fix this, run the command `ssh-recognize-host [hostname]`, or turn off StrictHostKeyChecking to disable host checking completely. Add correct host key in /home/scott/.ssh/known_hosts to get rid of this message. ** Changed in: openssh (Ubuntu) Importance: Wishlist => Medium -- Clarify the offending known_hosts line number when ssh key has changed https://bugs.launchpad.net/bugs/424053 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs