Re: [JSch-users] shell channel with long command yield no response
Status: Alpha
Brought to you by:
ymnk
From: <ym...@jc...> - 2010-05-07 03:17:45
|
Hi, +-From: "Liang, Jennifer" <jl...@eb...> -- |_Date: Tue, 4 May 2010 14:52:38 -0700 _______ | |I am using shell channel to issue a list of commands to the server and |reading the output. |One of the command is very long. My observation is that if a command |exceeds 257 bytes, |then it will not get any response back from the server. |I've googled and some suggests |that I change the default shell for the user. I am wondering if there is |an alternative way |to get around the problem? Frankly I am not certain the default shell |is the problem here. Which shell and what kind of commands do cause such a problem? Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 +1-415-578-3454 Skype callto://jcraft/ |