+-From: "Sheth, Tiru Kumar K (Tiru Kumar)" <tsheth@...> --
|_Date: Mon, 24 Dec 2007 15:19:36 +0530 _________________________________
|We are using jsch 1.36 version where in we are facing one very peculiar
|problem while using ChannelExec for executing a remote command.
|Following the code snippet for the same. The issue is that when we try
|to set the Pty for ExecChannel the actual command is not getting set and
|once we remove the setpTy it works absolutely fine. Could you please
|share your thoughts on this as this is very urgent
I'm sorry, but I can not understand the meaning of
'the actual command is not getting set'
All I can guess that the problem has existed on the remote.
How about the configuration files, ~/.profile, etc.
Unexpectedly, some lines may be executed and may not be in pty environment.
1-14-20 HONCHO AOBA-KU,
SENDAI, MIYAGI 980-0014 Japan.