First, let me say I am completly thrilled by what you've
done here, implementing SSH2 in Java. A perfect work of
art that I see as one of the more important steps in
both the future of Java and cross platform coding in
general. With that said, I am having a problem. I
simplified two of your sample programs, to use as the
basis of a biometric ID system I am working on for my
company (99% Java), and from most platforms (Windows
XP, Linux, HP/UX), all works perfect as expected. My
problem arrises when I try running the jar I created in
the MVS environment. Things seem to go fine, until it
issues the session.conect(), at which point it hangs and
just sits there. I have Ethereal traces of it from the
server end, as well as of successful ssh sessions from
the same client to the same server. Unfourtunatly, I am
by no means prepared to diagnose this with any real
level of compitence, not being much on encryption or
the ssh2 protocol. The examples I am using are the ones
to execute a remote command with userid/password,
and the same for PKI. Any help or even a nudge in the
right direction would be greatly appreciated.
Ethereal trace of jsch from MVS to Linux using userid/password auth