I played with socks a bit today and came up with this initial
implementation:

https://github.com/gnodet/mina-sshd/commit/3807bcf07655e7759ba08b42896f62708a4970c5


2014-11-17 11:30 GMT+01:00 Guillaume Nodet <[email protected]>:

> I've tried your setup using mina sshd, a native ssh client (ssh -Nn -D
> 1080 -p 8000 admin@localhost) and firefox with socks5 and it seems to
> work well, all http requests being routed through the ssh server.
> However, the socks protocol is not supported using mina sshd as a client
> (hence the use of the native ssh executable above).
>
> 2014-11-17 7:35 GMT+01:00 Jianbao (Jim) Tao <[email protected]>:
>
> Hi,
>>
>> Does mina-sshd support `ssh -D` kind of port forwarding, as in
>> ```
>> ssh -N -p 22 remote.server.host.name -D 1080
>> ```
>> If so, can someone kindly share some sample code, please? I really
>> appreciate it.
>>
>> Best,
>> Jim
>>
>
>

Reply via email to