connecting to a virtual host: host key mismatch

Wojtek Pilorz wpilorz at
Thu Sep 11 19:23:02 EST 2003

On Thu, 11 Sep 2003, Ulrich Windl wrote:

> Today ssh refuses to connect, because the host key is different. Reading the 
> documentation I found that there is no command line option (documented) to 

Have you tried -o "StrictHostKeyChecking ask" ?
(or no instead of ask, if you prefer)

Actually -o option have been documented since quite a long time ago.

> temporarily bypass "StrictHostKeyChecking", and it seems to be impossible to 
> specify multiple alternative hostkeys for a virtual host in "knows_hosts" (it 
> would make sense however IMHO).
> Using the same host keys for both machines is not what I would like to do 
> (assuming it would help), and I don't want to disable "StrictHostKeyChecking" 
> globally.
> So what's the (or a good) solution?
> Regards,
> Ulrich
> P.S. openssh-3.5p1
Best regards,


More information about the openssh-unix-dev mailing list