On Tue, Jul 29, 2014 at 11:23:57AM +0200, Timothée Ravier wrote:
You may use ssh -R to open a remote socket forwarding packets to your host and then send commands through it:
ssh my.server.com -t -R 7777:localhost:7777 -- ...
I tried this, but I can't get the port forwarding to work. Testing it using netcat, I can get the local port forwarding to work, but netcat exits without printing anything (even in verbose mode) with the remote port forwarding enabled. Do you know where the error can be ?
Here is how I did it, with newsbeuter in a tmux: http://tim.siosm.fr/blog/2014/02/16/first-rust-prog-and-rss-reader-update/
This is a good link, that's exactly what I want to do.