[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
opening multiply reverse tunnels in one session
[Thread Prev] | [Thread Next]
[Date Prev] | [Date Next]
- Subject: opening multiply reverse tunnels in one session
- From: Oleksandr Shneyder <o.shneyder@xxxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Sun, 05 Jan 2014 19:04:01 +0100
- To: libssh@xxxxxxxxxx
Hello, is it possible to open several reverse tunnels in one session? There is no problem with direct tunnel, I can simple create a channels with ssh_channel_new for every new tunnel that I need and then open forwarding with ssh_channel_open_forward. In case of reverse tunnel it seems that I only can listen to one port. There is an example on http://api.libssh.org/master/libssh_tutor_forwarding.html how to create reverse tunnel and forward the port 8080. But what if I need to forward more services in one ssh session? It seems to be possible open several reverse tunnels in one session with libssh2. But my project already uses libssh long time and I don't want to switch to libssh2. So I wondering if I can make the same with libssh. regards, -- ---------------------------------------------------- Oleksandr Shneyder | Email: o.shneyder@xxxxxxxxxxxxx phoca GmbH | Tel. : 0911 - 14870374 0 Bräuhausgasse 9 | Fax. : 0911 - 14870374 9 D-82205 Gilching | Mobil: 0163 - 49 64 461 Geschäftsführung: Dipl.-Inf. Oleksandr Shneyder Amtsgericht München | http://www.phoca-gmbh.de HRB 196 658 | http://www.x2go.org USt-IdNr.: DE281977973 ----------------------------------------------------
Attachment:
signature.asc
Description: OpenPGP digital signature
Re: opening multiply reverse tunnels in one session | Andreas Schneider <asn@xxxxxxxxxxxxxx> |