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.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.