Here is the error from both:
com.jcraft.jsch.JSchException: invalid protocol: 0
the ssh server gives warning of
Warning: Server lies about size of server host key:
actual size is 1023 bits vs. announced 1024.
Warning: This may be due to an old implementation of ssh.
before the password prompt. Could this be interfering?
The exception is generated in Session.java when
expecting a value...