[arch-general] Ncurses over ssh

Timothée Ravier siosm99 at gmail.com
Tue Jul 29 19:57:37 EDT 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 2014-07-29 20:26, luc.linux at mailoo.org wrote:
> 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 ?

I'm not sure I understand what's your issue here. This command will only
forward any packets sent to localhost:7777 on the server to port 7777 on
the client. You still need a program listening on port 7777 on the
client (either sshd, telnet, my sample program...).

>> 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.

:)

- -- 
Timothée Ravier
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCgAGBQJT2DTwAAoJENsngY94aI+DvycIAJwCit5T2y8H2rqdpS5GmLag
NI14nJgy/RAUJWXm8CHmqEKtrNcAJLfDjWuKaUpD3yUGK+lSxyqoPg59mFneCAm8
82xNZCjejt2uMyQ1E6+QUC0Md5ech4x9Flgw7DTNvM4skEv55rsBq2uzEItWPfK6
4rBYu3ezYUohIYCE+59GxE/b7ZaviknCPjeW+c4GCikgPL3ux9+bQRk7jgsQ6H21
icn4ZONiCwN1WngdlPxC0jkRYDIxfRl8gBag+913tD0YzN/HUTEv0pR8eFCs79WM
P0iZosKyaWHtVS05jeG3UU7vNEs/jkGGQvhuuesjix8U01FOktk88suX44lmefE=
=muZU
-----END PGP SIGNATURE-----


More information about the arch-general mailing list