New answers tagged netcat
You can use -R for this purpose: ssh -R 8080:127.0.0.1:7070 yourhost This will open a port on yourhost:7070 that forwards to localhost:8080 Documentation says [-R [bind_address:]port:host:hostport]
adding -v option solved my issue. The reason I am not sure.
wanted to comment on some answers, but couldn't (not enough reputation) so replying the question: YES, downgrade is needed so that nc can listen. and as for the other comments: a) -p is not supposed to be used when in listening mode. from nc manpage: -l Used to specify that nc should listen for an incoming connection rather than initiate ...
Top 50 recent answers are included