You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@mina.apache.org by Pete Torgenrud <pt...@yahoo.ca> on 2009/09/11 04:40:44 UTC

SSHD ClientChannel streams

I need to read the data written to ClientChannel in and error
OutputStreams. Anyone know how this is possible? My
PipedInputStream/PipedOutputStream converter gives me a broken pipe
immediately. Other SSH libraries give me access to shell or exec data
as InputStreams. Is this available in SSHD and I've managed to overlook
it?

Thanks, Pete



Re: SSHD ClientChannel streams

Posted by Guillaume Nodet <gn...@gmail.com>.
You need to register your own ShellFactory or CommandFactory and you
will have full control over the streams.

On Fri, Sep 11, 2009 at 04:40, Pete Torgenrud <pt...@yahoo.ca> wrote:
> I need to read the data written to ClientChannel in and error
> OutputStreams. Anyone know how this is possible? My
> PipedInputStream/PipedOutputStream converter gives me a broken pipe
> immediately. Other SSH libraries give me access to shell or exec data
> as InputStreams. Is this available in SSHD and I've managed to overlook
> it?
>
> Thanks, Pete
>
>
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com