Only do connection if I already know the destination?

Matt Johnston matt at ucc.asn.au
Mon Nov 21 23:20:25 AWST 2022


On 2022-11-21 11:05 pm, M Rubon wrote:
> I have an automated remote script that connects to a set of known
> servers.  I never want be prompted to add a new host key if the server
> is missing from .ssh/known_hosts.   If the key is missing, the client
> should just immediately exit.
> 
> Dropbear seems to give me the option of relaxing the host key checks
> (-y -y).  Is there an option to make them more strict?

I don't think there's any way to do that at the moment.

Cheers,
Matt

> 
> M
> 
> p.s. OpenSSH client option "StrictHostKeyChecking yes" is basically
> what I am looking for.


More information about the Dropbear mailing list