[java]
com.jcraft.jsch.JSchException: Algorithm negotiation fail
at com.jcraft.jsch.Session.receive_kexinit(Session.java:529)
at com.jcraft.jsch.Session.connect(Session.java:291)
at com.jcraft.jsch.Session.connect(Session.java:154)
$ sudo /etc/ssh/sshd_config
$ KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
$ sudo service sshd restart
참고
https://stackoverflow.com/questions/6263630/jschexception-algorithm-negotiation-fail