I am trying to connect to remote sftp server over ssh with JSch (0.1.44-1) but during \"session.connect();\" I am getting this exception:
com.jcraft.jsch.JS
add KexAlgorithms diffie-hellman-group1-sha1,diffie-hellman-group-exchange-sha1 to your sshd_config on the server.
This worked, but make sure you restart sshd: sudo service sshd restart