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.
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)
i have tried to resolve this by using Algorithm negotiation fail SSH in Jenkins and i have changed the KexAlgorithms in sshd_config, but getting the error.
So please help me. Thank you