Public bug reported: I came across this error when I updated one of my servers.
Add correct host key in /home/scott/.ssh/known_hosts to get rid of this message. Offending key in /home/scott/.ssh/known_hosts:2 RSA host key for (server) has changed and you have requested strict checking. This was completely expected, as I had just updated the server, however when I edited known_hosts I wasn't sure which key it was. There was no text description of the server names in that file. Only later did I learn that the :2 above meant "on line 2". What would have helped me greatly here is if the line: "Offending key in /home/scott/.ssh/known_hosts:2" instead said "Offending key in /home/scott/.ssh/known_hosts on line 2" Should be a simple change, but for me it would have saved a good half hour while I looked up man pages trying to find the nonexistent "reask for the key when I connect to this one" setting. ProblemType: Bug Architecture: amd64 Dependencies: DistroRelease: Ubuntu 9.04 NonfreeKernelModules: nvidia Package: ssh None [modified: /var/lib/dpkg/info/ssh.list] PackageArchitecture: all ProcEnviron: PATH=(custom, user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: openssh Uname: Linux 2.6.28-11-generic x86_64 UnreportableReason: This is not a genuine Ubuntu package ** Affects: openssh (Ubuntu) Importance: Wishlist Status: New ** Tags: amd64 apport-bug usability ** Changed in: openssh (Ubuntu) Importance: Undecided => Wishlist ** Tags added: usability -- 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 Server Team, which is subscribed to openssh in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs