[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Tunneling
[Thread Prev] | [Thread Next]
- Subject: Tunneling
- From: Joao Pedro Almeida Pereira <joao.almeida@xxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Wed, 27 Nov 2013 12:41:24 +0100
- To: libssh@xxxxxxxxxx
Hello, I am trying to develop a tunnel system using libssh but from what i could find in the tutorials i am not sure that i can do it with libssh. What i need is a tunnel to reach an SSH server, basically what i need is ssh -T -N -L 9999:HostB:22 user@HostA My machine ====> HostA ====> HostB And then connect to HostB SSH server using the local port. From what i saw in the tutor's i can do this but after receiving the channel i would need to perform the authentication by hand and not use the libssh to do the connection to that server. So basically what i want to know is if libssh is able to bind a local port in order to be able to use libssh to handle the following connection BR -- ----- -------- João Pereira Email: joao.almeida@xxxxxxxxxxx Web: http://www.bluetc.es
Re: Tunneling | Dustin Oprea <myselfasunder@xxxxxxxxx> |