Flag to turn off host-key check

Niall Sheridan nsheridan at google.com
Sat Jun 21 07:18:20 EST 2008


On Fri, Jun 20, 2008 at 7:04 PM, Tobias Karlsson
<jtkarlsson1973 at yahoo.com> wrote:
> Let me start by saying that I think OpenSSH is a great tool and thanks to everyone contributing to it's existence.
>
> However, I have a request:
>
> I'd like to have a flag that ignores the check of the host key. I'm fully aware of that this opens up for man-in-the-middle attacks and that there is a risk of lazy users mis-using this feature, but it would be very useful for us using SSH in a lab environment where the host key of the equipment frequently changes.
>

Try setting the following:
UserKnownHostsFile /dev/null
StrictHostKeyChecking no

 - Niall


More information about the openssh-unix-dev mailing list