[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: key exchange fails in ssh_connect using libssh 0.10.4


On Tue, Jan 10, 2023 at 2:23 PM Andreas Schneider <asn@xxxxxxxxxxxxxx>
wrote:

> On Monday, 9 January 2023 21:08:08 CET Jijo Thomas wrote:
> > Thank you Norbert Pócs.
> > I could add the missing default algorithms in kex.c and proceed.
>
> Why not just add it with ssh_options_set()?
>
> ssh_options_set(session, SSH_OPTIONS_KEY_EXCHANGE, "+diffie-hellman-group-
> exchange-sha1,+diffie-hellman-group14-sha1");
>

The '+' feature is not in 0.10 versions, only in master for now. But yes,
the algos can be listed there (without the +)


Regards
Norbert Pócs

References:
key exchange fails in ssh_connect using libssh 0.10.4Jijo Thomas <jijo7thomas@xxxxxxxxx>
Re: key exchange fails in ssh_connect using libssh 0.10.4Norbert Pocs <npocs@xxxxxxxxxx>
Re: key exchange fails in ssh_connect using libssh 0.10.4Jijo Thomas <jijo7thomas@xxxxxxxxx>
Re: key exchange fails in ssh_connect using libssh 0.10.4Andreas Schneider <asn@xxxxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org