Hi, +-From: prakash babu <jprakashb...@yahoo.co.in> -- |_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 ------------------------------------------------------------------------------ Using storage to extend the benefits of virtualization and iSCSI Virtualization increases hardware utilization and delivers a new level of agility. Learn what those decisions are and how to modernize your storage and backup environments for virtualization. http://www.accelacomm.com/jaw/sfnl/114/51434361/ _______________________________________________ JSch-users mailing list JSch-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jsch-users