You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "abhikt48 (via GitHub)" <gi...@apache.org> on 2024/04/11 12:56:42 UTC

[I] Enable ssh-dss algorighthm through system variable [mina-sshd]

abhikt48 opened a new issue, #483:
URL: https://github.com/apache/mina-sshd/issues/483

   We need to connect many SFTP servers and some SFTP servers are still using ` ssh-dss` algorithm for SFTP connection. 
   
   We have to use MuleSoft SFTP connector which internally uses `sshd-core-2.12.1` library, by default ` ssh-dss` algorithm are disabled because it is too weak to considered. 
   
   I'm able to communicate with these ssh-dss enabled SFTP servers using the settings below. However, I'm unable to apply the same settings in the MuleSoft SFTP connector because we can't modify their library.
   
   ```
   sshClient.setKeyExchangeFactories(NamedFactory.setUpTransformedFactories(false,
   		BuiltinDHFactories.VALUES, ClientBuilder.DH2KEX));
   sshClient.setSignatureFactories(new ArrayList<>(BuiltinSignatures.VALUES));
   ```
   
   Could someone please advise if there's a method to enable the ssh-dss algorithm via system variable settings? This would allow us to connect to ssh-dss enabled SFTP servers without any code modifications.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org


Re: [I] Enable ssh-dss algorighthm through system variable [mina-sshd]

Posted by "abhikt48 (via GitHub)" <gi...@apache.org>.
abhikt48 commented on issue #483:
URL: https://github.com/apache/mina-sshd/issues/483#issuecomment-2101048025

   Can anyone please update on this ?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org