On Mon, Mar 29, 2010 at 10:18 PM, Edward Perry <[email protected]>wrote:
> My two sense worth is that:
> * never tried it at the ssh level let alone the Java level
> * But if this is a fifo or character based device then you would need to
> write C code to create this type of interface
>
It is not fifo or character but Unix domain socket. But the same problem
applies (pointed out to me by Christian Plattner author of Ganymed).
JRuby has solved this problem by using JNA to implement domain sockets. And
the junixsocket uses JNI and its binary jars come with compiled libraries
for Linux 32/64, Mac 32/64. Getting this more complete to support more
platforms shouldn't be too difficult.
See also https://bugs.eclipse.org/bugs/show_bug.cgi?id=179924 discussing the
same problem for ssh-agent.
Roland
> On Mar 29, 2010, at 6:05 PM, Roland Schulz wrote:
>
> Hi,
>
> as far as I know it is not possible.
>
> But I would also be interested in this feature. I would think it shouldn't
> be too difficult to add. Is this something which could be added to jsch?
>
> Roland
>
> On Mon, Mar 29, 2010 at 10:21 AM, Lisa Woodring
> <[email protected]>wrote:
>
>> Is there a way to do connection sharing?
>>
>>
>> Something like this:
>>
>>
>> if ! ssh -S /dev/shm/ssh-foo -O check <host> 2> /dev/null; then
>>
>> rm -f /dev/shm/ssh-foo
>>
>> ssh -S /dev/shm/ssh-foo -fMN <host>
>>
>> fi
>>
>>
>> ssh -S /dev/shm/ssh-foo <host> <command>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Download Intel® 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
>>
>>
>
>
> --
> ORNL/UT Center for Molecular Biophysics cmb.ornl.gov
> 865-241-1537, ORNL PO BOX 2008 MS6309
> ------------------------------------------------------------------------------
> Download Intel® 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
>
>
>
--
ORNL/UT Center for Molecular Biophysics cmb.ornl.gov
865-241-1537, ORNL PO BOX 2008 MS6309
--
ORNL/UT Center for Molecular Biophysics cmb.ornl.gov
865-241-1537, ORNL PO BOX 2008 MS6309
------------------------------------------------------------------------------
Download Intel® 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