Jsch exec command on Tectia fail

Help
2009-05-21
2013-05-28
  • Jonathan Chan
    Jonathan Chan
    2009-05-21

    Hello,

    I had tried the example Exec.java to executed some simple command (e.g. dir, move, etc) on Tectia SSH Server, Windows platform.

    The result I got is always result 254, fail. However, when I try Shell.java and execute command in shell, it shows no problem.

    I have also tried Exec.java in OpenSSH, AIX platform, but without problem.....

    Is there anybody have idea?

    Thanks,

    Jonathan