would it be possible to add an option to add an non-interactive mode ?
Getting yes/no questions (or else) in a script is clearly not helpful.

re,
 wh


________________________________________
Von: Dropbear <dropbear-boun...@ucc.asn.au> im Auftrag von Matt Johnston 
<m...@ucc.asn.au>
Gesendet: Montag, 21. November 2022 16:20:25
An: M Rubon
Cc: dropbear@ucc.asn.au
Betreff: Re: Only do connection if I already know the destination?

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.

Reply via email to