Question: Isn't the difficulty now just moved to finding the line number you want to remove? For example, you could find that by looking at the file with an editor, but then you might as well remove the line in the editor. I also find that the known_hosts file sometimes may have several references to the same machine, with different name variants perhaps (say, foo and foo.lan) and also by IP address. So several lines may need to be removed.
|