Interesting ...    Agent forwarding should work with SSHD if that can help.

What's the problem with the setChannelFactories ? More details would
help to understand the real issue.

On Wed, Mar 9, 2011 at 16:41, Mark Robinson <[email protected]> wrote:
> This may sound silly but I am trying to build an SSH proxy/passthrough 
> between the a Git client and a Git server.
>
>
> On Mar 9, 2011, at 9:36 AM, Guillaume Nodet wrote:
>
>> The default setup using SshServer.setUpDefaultServer() configures the 
>> following:
>>
>>        sshd.setChannelFactories(Arrays.<NamedFactory<Channel>>asList(
>>                new ChannelSession.Factory(),
>>                new ChannelDirectTcpip.Factory()));
>>
>> So it should work.  What kind of channels are you trying to configure ?
>>
>> On Wed, Mar 9, 2011 at 16:27, Mark Robinson <[email protected]> wrote:
>>> Hi,
>>> Is there an example that shows how to set up a basic SSHD server to listen 
>>> for SSH channels? I am hacking away at sshd.setChannelFactories with no 
>>> luck.
>>> Thanks!
>>
>>
>>
>> --
>> Cheers,
>> Guillaume Nodet
>> ------------------------
>> Blog: http://gnodet.blogspot.com/
>> ------------------------
>> Open Source SOA
>> http://fusesource.com
>
>



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

Reply via email to