prompt to update a host key
Harold Gutch
logix at foobar.franken.de
Sat Mar 16 23:25:01 AEDT 2019
Hi,
On Fri, Mar 15, 2019 at 12:16:32PM -0700, Jeremy Lin wrote:
> On Fri, Mar 15, 2019 at 2:37 AM David Newall <openssh at davidnewall.com> wrote:
> >
> > On 03/15/2019 12:49 AM, Jeremy Lin wrote:
> > > [...] connecting to hosts where the host key
> > > changes frequently. I realize this is a fairly niche use case [...]
> >
> > Doesn't StrictHostKeyChecking=no do what is wanted?
>
> None of the StrictHostKeyChecking options currently allow you to use
> password auth if the host key has changed. The only way we can log
> into a reimaged device is to use the initial default username and
> password.
"UserKnownHostsFile=/dev/null" was already mentioned, that in
combination with "StrictHostKeyChecking=no" should do what you're
looking for.
Harold
More information about the openssh-unix-dev
mailing list