[
https://issues.apache.org/jira/browse/SSHD-1189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17376864#comment-17376864
]
Thomas Wolf commented on SSHD-1189:
-----------------------------------
Did you look around? There is {{ServerBuilder.setUpDefaultKeyExchanges()}}.
This shows you how to convert DH factories to {{KeyExchangeFactory}} instances.
You already found {{BuiltInDHFactories}}: did you notice the
{{parseDHFactoriesList()}} method? That one parses your property to a list of
DH factories.
Note that Apache MINA sshd has no implementations for rsa1024-sha1 or
rsa2048-sha256 as far as I know. rsa1024-sha1 is really weak and should not be
used anymore. See also
[https://tools.ietf.org/id/draft-ietf-curdle-ssh-kex-sha2-13.html] .
> How to fetch default KEX, ciphers and mac
> -----------------------------------------
>
> Key: SSHD-1189
> URL: https://issues.apache.org/jira/browse/SSHD-1189
> Project: MINA SSHD
> Issue Type: Question
> Reporter: Susmit Sarkar
> Priority: Blocker
> Attachments: 47C4C2C1-97E3-4934-B862-2E49C75CAB69.png
>
>
> Hi Team,
> In 2.7.0 we see
> ConfigFileReaderSupport.DEFAULT_KEX_ALGORITHMS;
> ConfigFileReaderSupport.DEFAULT_CIPHERS;
> ConfigFileReaderSupport.DEFAULT_MACS;
>
> Are not present, how can we get the list now?
>
> Thanks,
> Susmit
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]