title: com.jcraft.jsch.JSchException: Algorithm negotiation fail
body: <p>I am trying to connect with sftp server from client machine. But  com.jcraft.jsch.JSchException: Algorithm negotiation fail this kind of error i am getting.</p>
  
  <pre><code>com.jcraft.jsch.JSchException: Algorithm negotiation fail
      at com.jcraft.jsch.Session.receive_kexinit(Session.java:540)
      at com.jcraft.jsch.Session.connect(Session.java:288)
      at com.jcraft.jsch.Session.connect(Session.java:145)
      at com.na.common.NewReading.main(NewReading.java:28)
  </code></pre>
  
  <p>i have tried to resolve this by using <a href="https://stackoverflow.com/questions/26424621/algorithm-negotiation-fail-ssh-in-jenkins">Algorithm negotiation fail SSH in Jenkins</a> and i have changed the KexAlgorithms  in sshd_config, but getting the error.</p>
  
  <p>So please help me. Thank you</p>