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@xxxxxxxxxxxxxxx> 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 _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@xxxxxxxxxxx https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev