Hi,

   +-From: Ivan Soleimanipour <ivan.soleimanip...@sun.com> --
   |_Date: Tue, 20 Oct 2009 13:53:25 -0700 __________________
   |
   |jsch can provide i/o access to remote processes via pty's.
   |However, some applications require access to a pty w/o an associated 
process.
   ...
   |I believe the base SSH protocol can provide this, but none of
   |the Channel implementations as of jsch-0.1.42 seem to provide such
   |a raw pty-only channel.
   |Is it possible to commission such a feature in jsch?

How about using ChannelExec#setPty,

    Channel channel=session.openChannel("exec");
    ... 
    ((ChannelExec)channel).setPty(true);
    channel.connect();


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/

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
JSch-users mailing list
JSch-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to