I need to execute a few commands using jsch.
All these commands should be executed using '/bin/sh'.
But the current shell set for the user is '/bin/csh'.
So using jsch, how can I change the current shell to 'sh' before executing those unix commands?
Can someone please help me with a working example…. Thanks in advance.
Log in to post a comment.