Title: signature numvision
I am working on a Java project that makes an extensive use of the ExecChannel for SCP and executing commands on remote host.
I have been using Jsch and it works pretty well. Sadly I cannot find a good documentation about the Session/Channel model.

At the moment I am working on the implementation of an UploadManager that uses Scp. I want to be able to choose the number of scp threads.
My problem occures when I try to create two (more than one) ExecChannel in the same session. It makes the session to fall down without throwing any exception.

Do you know:
1)How many channels are allowed per session (I read on google that 10 is the default number for a sshd or OpenSSH)?
2)Why is it not implemented in JSCH
3)For successive scp command, should I create a new ExecChannel for each SCP or use global ShellChannel and deal with StreamIn and StreamOut?

Thank you for helping,

--
Renaud Pelissier

785 voie Antiope
Zone Athélia 3
13600 LA CIOTAT

Portable : +33 6 25 41 59 59
Std : +33 4 27 85 13 32
Fax : +33 4 27 85 13 31
Mail : [email protected]

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to