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.alme...@blue-tc.com <mailto:joao.alme...@blue-tc.com> > Web: http://www.bluetc.es <http://www.bluetc.es/>