Hi,

   +-From: "Vinay S (vinas)" <[email protected]> --
   |_Date: Wed, 17 Mar 2010 22:06:05 +0530 ______
   |
   |*         Maintaining a single session, I created a new channel of type
   |"exec" for every command sent, but when it came to creating the second
   |channel, I got an exception that the session got disconnected although I
   |never disconnected the session. Please advise how I can rectify this. I
   |do not want to create a session everytime a new command is sent. Would
   |using shell help? If so, how could I implement it.

Could you please to try to open the "shell" channel at first
and then, without disconnecting it, create "exec" channels?
I have recognized that older OpenSSH's sshd had such a bug(or a problem),
which will close a session immediately whenever there is no channels
on the session.


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: @ymnk

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to