Flag to turn off host-key check
mloftis at wgops.com
Sat Jun 21 05:14:04 EST 2008
--On June 20, 2008 11:04:18 AM -0700 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.
StrictHostKeyChecking [yes|no|ask] defaults to ask.
ssh -o 'StrictHostKeyChecking no'
or in ~/.ssh/config/.
> openssh-unix-dev mailing list
> openssh-unix-dev at mindrot.org
"Genius might be described as a supreme capacity for getting its possessors
into trouble of all kinds."
-- Samuel Butler
More information about the openssh-unix-dev