Re: [JSch-users] Setting psuedo terminal
Status: Alpha
Brought to you by:
ymnk
|
From: prakash b. <jpr...@ya...> - 2011-09-08 06:08:36
|
I didn't really find any differences between the hosts, both were vanilla versions of the Linux OS. Is there some log were I can check whether the pseudo terminals are set properly. Just need some debugging tips. thanks, Prakash ----- Original Message ----- From: Atsuhiko Yamanaka <ym...@jc...> To: jpr...@ya... Cc: jsc...@li... Sent: Wednesday, September 7, 2011 6:22 AM Subject: Re: [JSch-users] Setting psuedo terminal Hi, +-From: prakash babu <jpr...@ya...> -- |_Date: Tue, 6 Sep 2011 14:57:52 +0530 (IST) _____ | |/bin/su requires a psuedo terminal,A (Bfor execution over ssh. |I set the pty flag as follows before executing this command using jsch. |((ChannelExec)channel).setPty(true); |I works consistently on some hosts, but hangs intermittently on some hosts. Is it possible to summarize what kind of hosts are good, and bad? 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/ Twitter: http://twitter.com/ymnk Facebook: http://facebook.com/aymnk |