We use a script to send commands to various external HLR vendors using SSH.
The scenario is as follows: connect to SSH server, receive the prompt, send command, receive response and analyze it.
With one specific vendor, only the prompt on connection after login is received.
SSH server doesn't get the command, only the login request, and my client receives back only the command which was sent without any response.
I tried it both with jsch-0.1.20 and jsch-0.1.49 jar.
I can execute the command manually from the command line, but it fails with jsch and the same code works for another vendor.
Log in to post a comment.