I am getting below exception when my application tries to connect to particular switch.
com.jcraft.jsch.JSchException: Algorithm negotiation fail
Connection to other switch is possible but, one particular switch fails. What can be possible reason? I am getting exception at this line of code:
session.connect(30000);
Output of my logs:
null Connecting to NDELEVDA0001 port 22
null Connection established
null Remote version string: SSH-2.0-OpenSSH_7.2 FIPS
null Local version string: SSH-2.0-JSCH-0.1.43
null CheckCiphers: aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192-cbc,aes128-cbc,3des-ctr,arcfour,arcfour128,arcfour256
null aes256-ctr is not available.
null aes192-ctr is not available.
null aes256-cbc is not available.
null aes192-cbc is not available.
null arcfour256 is not available.
null SSH_MSG_KEXINIT sent
null SSH_MSG_KEXINIT received
null Disconnecting from NDELEVDA0001 port 22
com.jcraft.jsch.JSchException: Algorithm negotiation fail