Re: [arch-general] Ncurses over ssh

2014-07-30 Thread Timothée Ravier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 2014-07-30 09:21, luc.li...@mailoo.org wrote: > Sorry, I wasn't clear enough : I open the connection with "ssh [ip] > -R :localhost:". Once this is done, I launch "netcat -l -p > " on another terminal and "netcat localhost " on the

Re: [arch-general] Ncurses over ssh

2014-07-30 Thread luc . linux
On Wed, Jul 30, 2014 at 01:57:37AM +0200, Timothée Ravier wrote: > I'm not sure I understand what's your issue here. This command will only > forward any packets sent to localhost: on the server to port on > the client. You still need a program listening on port on the > client (eithe

Re: [arch-general] Ncurses over ssh

2014-07-29 Thread Timothée Ravier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 2014-07-29 20:26, luc.li...@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.serv

Re: [arch-general] Ncurses over ssh

2014-07-29 Thread luc . linux
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 :localhost: -- ... I tried this, but I can't get the port forwarding to work. Testi

Re: [arch-general] Ncurses over ssh

2014-07-29 Thread Timothée Ravier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 2014-07-26 22:09, luc.li...@mailoo.org wrote: > In a totally unrelated matter, do you know how to make a remote > program launch local scripts through ssh ? You may use ssh -R to open a remote socket forwarding packets to your host and then send

Re: [arch-general] Ncurses over ssh

2014-07-28 Thread luc . linux
On Sat, Jul 26, 2014 at 10:31:14PM +0200, Mikael Eriksson wrote: > Pass the -t switch to ssh to make it open an pty to run the command. It fixed the ncurses problem, but I noticed that now, the stderr of the remote command is on the local stdout, preventing me to redirect somewhere else (on ncurses

Re: [arch-general] Ncurses over ssh

2014-07-26 Thread luc . linux
On Sat, Jul 26, 2014 at 10:31:14PM +0200, Mikael Eriksson wrote: > Pass the -t switch to ssh to make it open an pty to run the command. It works ! Thanks a lot. pgpAeLiIzTlyA.pgp Description: PGP signature

Re: [arch-general] Ncurses over ssh

2014-07-26 Thread luc . linux
On Sat, Jul 26, 2014 at 04:28:58PM -0400, Daniel Micay wrote: > You need the terminal's terminfo on the server. If you don't have root > access there you can put it in your home directory. I already put it, without it I couldn't launch any ncurses program, no matter how I tried. pgpLfxTLT8SI7.pg

Re: [arch-general] Ncurses over ssh

2014-07-26 Thread Mikael Eriksson
On Sat, Jul 26, 2014, at 10:09 PM, luc.li...@mailoo.org wrote: > But when I invoke it that way : `ssh [ip] newsbeuter`, newsbeuter > fails with 'Error opening terminal : unknown'. Pass the -t switch to ssh to make it open an pty to run the command.

Re: [arch-general] Ncurses over ssh

2014-07-26 Thread Daniel Micay
On 26/07/14 04:09 PM, luc.li...@mailoo.org wrote: > Hello everyone. > > I am using newsbeuter to handle my rss feeds, and, to be able to use it > from all my computers, I set it up on a server with ssh enabled. When I > log in this server with ssh, then launch newsbeuter, everything works > fine.

[arch-general] Ncurses over ssh

2014-07-26 Thread luc . linux
Hello everyone. I am using newsbeuter to handle my rss feeds, and, to be able to use it from all my computers, I set it up on a server with ssh enabled. When I log in this server with ssh, then launch newsbeuter, everything works fine. But when I invoke it that way : `ssh [ip] newsbeuter`, newsbeu