Date: Fri, 25 Apr 2008 09:37:13 -0700 From: Chuck Swiger <cswiger@mac.com> To: Anton Shterenlikht <mexas@bristol.ac.uk> Cc: freebsd-questions@freebsd.org Subject: Re: ssh StrictHostKeyChecking=no refuse connection when key changed Message-ID: <EA92F240-7932-42CB-A669-F63942EDD3D4@mac.com> In-Reply-To: <20080425160939.GA9863@mech-aslap33.men.bris.ac.uk> References: <20080425160939.GA9863@mech-aslap33.men.bris.ac.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Apr 25, 2008, at 9:09 AM, Anton Shterenlikht wrote: > Is it normal that StrictHostKeyChecking=no in .ssh/config > still refuses ssh connection when host ID has changed. > > I've a setup in which host ids change frequently. How > can I setup ssh so that it ignores key change. You'd be better off fixing whatever it is that is making your host IDs change, but I suppose you could also try to create a zero-length known_hosts file, and keep it that way via: chflags uchg ~/.ssh/known_hosts You might also try to automate finding the current valid hostkeys via ssh-keyscan. -- -Chuck
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EA92F240-7932-42CB-A669-F63942EDD3D4>