[
https://issues.apache.org/jira/browse/SSHD-1155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17320148#comment-17320148
]
Susmit Sarkar commented on SSHD-1155:
-------------------------------------
Thanks Thomas let me check.
I was using a legacy client called Tectia:
I checked the mina logs and found this error so I though that way
*org.apache.sshd.common.SshException: Unable to negotiate key exchange for
server host key algorithms* (client:
rsa-sha2-512,rsa-sha2-256,[email protected],[email protected],ecdsa-sha2-nistp512,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,ssh-rsa,ssh-dss,x509v3-sign-dss,x509v3-sign-rsa,[email protected],[email protected],ssh-ed25519
/ server: ecdsa-sha2-nistp521)org.apache.sshd.common.SshException: Unable to
negotiate key exchange for server host key algorithms (client:
rsa-sha2-512,rsa-sha2-256,[email protected],[email protected],ecdsa-sha2-nistp512,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,ssh-rsa,ssh-dss,x509v3-sign-dss,x509v3-sign-rsa,[email protected],[email protected],ssh-ed25519
/ server: ecdsa-sha2-nistp521) at
org.apache.sshd.common.session.helpers.AbstractSession.negotiate(AbstractSession.java:1873)
at
org.apache.sshd.common.session.helpers.AbstractSession.doKexNegotiation(AbstractSession.java:702)
> 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]