[BBLISA] Mac users ssh client and changing host keys

Michael Tiernan michael.tiernan at gmail.com
Fri Jan 24 18:57:49 EST 2014


On Fri, Jan 24, 2014 at 1:54 PM, Edward Ned Harvey (bblisa4)
<bblisa4 at nedharvey.com> wrote:
> On the mac (I just confirmed) the default is: CheckHostIP yes
> So the correct answer is, you either need to change that, or use sed on the known_hosts file.

Actually, it might be "cleaner" to use
  % ssh-keygen   -R hostname
to remove the host from known_hosts file. Then use
  % ssh-keyscan -t dsa,rsa hostname,hostname.domain,hostIP >> ~/.ssh/known_hosts
to update to the new keys.

However, that's just my subjective opinion.
-- 
    << MCT >>   Michael C Tiernan.
    http://www.linkedin.com/in/mtiernan
    Non Impediti Ratione Cogatationis



More information about the bblisa mailing list