Re: [JSch-users] Executing Interactive commands using Jsch

2011-11-29 Thread Atsuhiko Yamanaka
Hi, +-From: prakash babu -- |_Date: Mon, 28 Nov 2011 12:19:17 +0530 (IST) | |This is also working perfectly fine, but for some instances,A (B |the execution hangs, the reason being the input/password is being |piped even before the pseudo terminal is launched and hence

[JSch-users] Executing Interactive commands using Jsch

2011-11-27 Thread prakash babu
Hi Bros/Sis,                      I use the jsch to execute interactive commands(that prompt for some input/password) on the remote hosts which work perfectly fine.        There are some interactive commands which require a terminal for execution eg. sudo/su.        For these commands I