Re: incorrect "host key changed" for multi-sshd localhost

From: Neil W Rickert (rickert+nn@cs.niu.edu)
Date: 11/16/02


From: Neil W Rickert <rickert+nn@cs.niu.edu>
Date: 16 Nov 2002 14:22:55 GMT

idallen@freenet.carleton.ca (Ian! D. Allen) writes:

>The second time I connect to one of these localhost ports, but a
>different port (different remote machine), e.g. "ssh -p 1232 localhost",
>ssh complains that the host key for "localhost" has changed and refuses
>to do various things.

If you are using openssh, then try:

        NoHostAuthenticationForLocalhost yes