smilesometimes edited a comment on pull request #195:
URL: https://github.com/apache/mina-sshd/pull/195#issuecomment-851009117


   The latter. it was wrong before, but with this correction it's good.  
maxTraydakalo's commit is right. 
   
    Today  I have  met this bug, my ssh server can not connect, I modify the 
client sshd config   like this: 
   
   // client config like this,   cannot connet to server
    KexAlgorithms = diffie-hellman-group-exchange-sha256
    HostKeyAlgorithms = rsa-sha2-256 
   
   //client config like this,     can connect to server
   KexAlgorithms = ecdh-sha2-nistp256
    HostKeyAlgorithms = rsa-sha2-256 
   
   The diffie-hellman-group-exchange-sha256 use DHGEXClient class which is 
wrong  before this commit, so it cannot work.
   The ecdh-sha2-nistp256. use DHGClient class which is right.
   


-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to