-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
On 2014-07-30 09:21, luc.linux@mailoo.org 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