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

   ### Version
   
   2.11.0
   
   ### Bug description
   
   Hello, 
   
   In our application we are connecting to multiple different sftp servers, 
that require different configuration (ciphers, macs etc...).
   I have created one SshClient with global settings.
   Then I create a new ClientSession for each of my endpoint. I use the 
CoreModuleProperties.SEND_IMMEDIATE_KEXINIT property to delay the KEX init, as 
explained in readme.
   However in my unit tests I have random failures when I modify the list of 
ciphers to restrict the list. Sometimes the override is not used for the 
negotiation and instead client sends the ones setup at SshClient level, not at 
ClientSession level.
   
   So I want to know if the way I am doing is valid or not, and if there is a 
way to avoid this concurrency issue....
   
   
   
   ### Actual behavior
   
   Randomly not taken into account the override of configuration done at 
ClientSession level
   
   ### Expected behavior
   
   To be able to override ciphers, macs and Kex at Client Session level and not 
only globally at SshClient level
   
   ### Relevant log output
   
   _No response_
   
   ### Other information
   
   _No response_


-- 
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-unsubscr...@mina.apache.org.apache.org

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


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

Reply via email to