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

Re: IPv6 connecting via SSH Tunnel


Hello,
One question will this patch be added to main or are you going to solve
this problem in a different way?

BR


On 7 April 2014 16:32, Joao Pedro Almeida Pereira <joao.almeida@xxxxxxxxxxx>
wrote:

> Hello,
> Is the attached patch enough to solve this problem or do you intend to do
> a revamp on the functions?
>
> BR
>
>
> On 28 March 2014 16:51, Joao Pedro Almeida Pereira <
> joao.almeida@xxxxxxxxxxx> wrote:
>
>> Hello,
>> After i sent the email i looked in google and found the bug.
>> Hmm, After reading it a looking into the code the only thing that is
>> needed is to check the return from connect.
>> For my case it solves the problem. But you think that it will bring other
>> consequences because the call is non blocking??
>>
>> BR
>>
>>
>> On 28 March 2014 16:29, Aris Adamantiadis <aris@xxxxxxxxxxxx> wrote:
>>
>>> Hi,
>>>
>>> I believe your problem is linked to this bug:
>>> https://red.libssh.org/issues/101
>>>
>>> Could your try again with ./samplessh -p 10001 root@::1 ?
>>>
>>> Regards,
>>>
>>> Aris
>>>
>>> Le 28/03/14 16:24, Joao Pedro Almeida Pereira a écrit :
>>> > Hello,
>>> > Just created a tunnel using the following command:
>>> > ssh -4 -L 10001:[::1]:22 root@other_machine -f -N
>>> >
>>> > using normal ssh on the console i can connect and don't have any
>>> problem.
>>> > Nevertheless when i try to use the samplessh application:
>>> > ./samplessh -p 10001 root@localhost
>>> > Connection failed : Connection refused
>>> >
>>> > Does the library do not support IPv6 over IPv4 tunnels?
>>> >
>>> > I am using the version 0.6.3 of the lib.
>>> >
>>> > Thanks
>>> >
>>> > BR
>>> > --
>>> > -----
>>> > --------
>>> > João Pereira
>>> >
>>> > Email: joao.almeida@xxxxxxxxxxx <mailto:joao.almeida@xxxxxxxxxxx>
>>> > Web: http://www.bluetc.es <http://www.bluetc.es/>
>>>
>>>
>>
>>
>> --
>> --
>> -----
>> --------
>> João Pereira
>>
>> Email: joao.almeida@xxxxxxxxxxx
>> Web: http://www.bluetc.es
>>
>
>
>
> --
> --
> -----
> --------
> João Pereira
>
> Email: joao.almeida@xxxxxxxxxxx
> Web: http://www.bluetc.es
>



-- 
--
-----
--------
João Pereira

Email: joao.almeida@xxxxxxxxxxx
Web: http://www.bluetc.es

Follow-Ups:
Re: IPv6 connecting via SSH TunnelAris Adamantiadis <aris@xxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org