Hi, Please refer to "Starting a Shell or Command" section in RFC4254[1]. On the shell channel, your login shell will be invoked on the remote and wait for your commands forever until "exit" command or channel.disconnect. And also, data from that login shell will include escape characters for the terminal emulator. If you don't like those characters, ((ChannelShell)channel).setPty(false); channel.connect(); will disable them.
[1] http://tools.ietf.org/html/rfc4254#section-6.1 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® 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/devconf _______________________________________________ JSch-users mailing list JSch-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jsch-users