-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 2014-07-30 09:21, luc.linux@xxxxxxxxxx wrote: > Sorry, I wasn't clear enough : I open the connection with "ssh [ip] > -R 7777:localhost:7777". Once this is done, I launch "netcat -l -p > 7777" on another terminal and "netcat localhost 7777" on the > server. Normally, netcat on the server should read its stdin and > send it to localhost:7777, which is forwarded to my local computer, > so I should see it on the netcat listening. But the netcat on the > server simply exits without any error message, even in verbose > mode. > > I don't know where the error can be. It worked when I tried local > port forwarding, with the netcat listening on the server and > sending messages from my computer, but that's not what I need. > Maybe it is a firewall issue ? I don't know much in networks and I > don't know how to debug that. The steps you described here work for me. I don't think that this is firewall issue. This looks like an ssh issue. Try running it with: ssh -vvv ... - -- Timothée Ravier -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCgAGBQJT2KzoAAoJENsngY94aI+DWCEH/jg+wK9VsBEFrXzLG1zyMEOa s9Lj0fVfLhTqlqhV8W72hYJDiycYVbNUDUIkf6/9dYHjM0hZnfL/lWPdZHQM78XB mLLZYmjozfkDZKpKgzDiOvcfO9JBGbZ7EaMAgjF4JfHVojLZtatEDxLWDUunLA9Z lCvnSguX/PE2y9bgnY5VrhsxAmwvVeNKMatH6cgx5020fklRjEpSAb1H1SI1bJB2 YzKvlbS0YMCYj7wIa1KFlESxUaubS9VbYlj/OWIogwoMmkoc2svT5U7J7s1tAbLL 8uxHkUeKgY3ek5xKij/BdQYe08R1P9VWXAMUL+7wYgM9UyImAmXmgsd+Jvr+t5c= =odnO -----END PGP SIGNATURE-----