View Single Post
  #2   (View Single Post)  
Old 21st December 2014
IdOp's Avatar
IdOp IdOp is offline
Too dumb for a smartphone
 
Join Date: May 2008
Location: twisting on the daemon's fork(2)
Posts: 828
Default

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.
Reply With Quote