[
https://issues.apache.org/jira/browse/SSHD-1155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17320154#comment-17320154
]
Susmit Sarkar commented on SSHD-1155:
-------------------------------------
Now I made the code changes:
sshd.setSignatureFactoriesNames("rsa-sha2-256", "rsa-sha2-512");
The algorithms are getting set, but now getting a different error in MINA logs:
13 Apr 2021 18:20:04,328 [NioProcessor-3] WARN ServerSessionImpl -
exceptionCaught(ServerSessionImpl[null@/10.84.41.71:63031])[state=Opened]
SshException: sendKexInit() no resolved signatures available13 Apr 2021
18:20:04,328 [NioProcessor-3] WARN ServerSessionImpl -
exceptionCaught(ServerSessionImpl[null@/10.84.41.71:63031])[state=Opened]
*SshException: sendKexInit() no resolved signatures*
availableorg.apache.sshd.common.SshException: sendKexInit() no resolved
signatures available at
org.apache.sshd.common.session.helpers.AbstractSession.sendKexInit(AbstractSession.java:2265)
> How to add KeyExchangeAlgo which are deprecated
> -----------------------------------------------
>
> Key: SSHD-1155
> URL: https://issues.apache.org/jira/browse/SSHD-1155
> Project: MINA SSHD
> Issue Type: Question
> Reporter: Susmit Sarkar
> Priority: Blocker
>
> Hello Team,
>
> I need to add the deprecated KeyExchangeAlgo to SshServer.
> ssh-dss, ssh-rsa, rsa-sha2-256, rsa-sha2-512, nistp256, nistp384, nistp521 ,
> ssh-ed25519 (requires {{eddsa}} optional module),
> [[email protected]|mailto:[email protected]],
> [[email protected]|mailto:[email protected]] ,
> [[email protected]|mailto:[email protected]],
> [[email protected]|mailto:[email protected]],
> [[email protected]|mailto:[email protected]] ,
> [[email protected]|mailto:[email protected]],
>
> [[email protected]|mailto:[email protected]],
>
> [[email protected]|mailto:[email protected]]
> sshd.setKeyExchangeFactories(Arrays.asList(BuiltinKeyExchange.***));
> BuiltinKeyExchange there is no class of the same name
> List<KeyExchangeFactory> kexFactories = I need all the above mentioned
> deprecated kexAlgo, can you please help with the code snippet.
>
> Thanks in advance
>
>
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]