[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quick question


On Thursday 08 October 2015 14:06:34 you wrote:
> Allright after studying the RFC's again I believe that this is the right way
> to do it:
> 1. Start SSH session
> 2. Request listening on remote port3. While Forever
> 	1. Wait untill incoming channel and load in an ssh_channel  
>  2. while connection not closed

and not eof

>    1. Read reverse channel and write to Local Socket
>    2. Read Local socket and write to reverse channel

        ssh_channel_send_eof()
>    3. Close Channel
        ssh_channel_free()

-- 
Andreas Schneider                   GPG-ID: CC014E3D
www.cryptomilk.org                asn@xxxxxxxxxxxxxx

References:
Quick questionlars van ruiten <larsvanruiten@xxxxxxxxxxx>
Re: Quick questionAndreas Schneider <asn@xxxxxxxxxxxxxx>
RE: Quick questionlars van ruiten <larsvanruiten@xxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org