As of openssh 1:5.6p1-2ubuntu3 (natty) at least the the ssh-keygen -R
trick has been added.
andreas@stilgar:~$ ssh lucy
@@@
@WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
Nice, thanks Andreas for noticing that.
And thanks Colin Watson for the fix:
openssh (1:5.7p1-2ubuntu1) natty; urgency=low
* Resynchronise with Debian experimental. Remaining changes:
- Add support for registering ConsoleKit sessions on login.
- Drop openssh-blacklist and
Isn't ssh-keygen -R the tool for this job?
--
Removing the offending host key when a server updates should be easier
https://bugs.launchpad.net/bugs/662068
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in ubuntu.
--
Scott, use ssh-keygen -R foo.server.com.
--
Removing the offending host key when a server updates should be easier
https://bugs.launchpad.net/bugs/662068
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in ubuntu.
--
Indeed it seems that's the right thing, but to be honest I'd never even
seen the ssh-keygen command as I expected that sort of thing to be
handled by ssh. So there's still a discoverability problem here.
Perhaps the error message could mention ssh-keygen as well.
--
Removing the offending host
Agreed Scott, I have been using OpenSSH for many many years, since the
first port to Linux, and I never knew about this (pretty cool) way of
removing old keys.
So in addition to adding the text on line to the error message, I
would also agree that adding a line after that suggesting that the user
** Changed in: openssh (Ubuntu)
Importance: Undecided = Wishlist
--
Removing the offending host key when a server updates should be easier
https://bugs.launchpad.net/bugs/662068
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh
I have to agree that the way the error is printed is quite confusing.
Just replacing the '$file:$line' with '$file on line $line' would be a
very simple usability improvement.
Marking Confirmed.
** Changed in: openssh (Ubuntu)
Status: New = Confirmed
--
Removing the offending host key