Re: non-X equivalent to "ssh <hostname> 'xterm -e <program>'"?
Maybe I'm missing something here, but is there a reason you can't run
"ssh <hostname>", login, and then simply run "mutt" or whatever other
console command you like? I do it on my lan all the time and it seems
to work great.
Jacob
On Tue, 6 Aug 2002 09:50:37 -0500
Lance Simmons <lance@lsimmons.net> wrote:
> It's easy to run programs remotely:
>
> ssh <hostname> 'xterm -e <program>'
>
> What's the non-X equivalent to that? Let's take mutt as an example:
>
> ssh <hostname> mutt
>
> doesn't work, because mutt terminates with an error message.
>
> ssh <hostname> 'screen mutt'
>
> doesn't work, because screen complains that it must be connected to a
> terminal, and there is no terminal.
>
> It seems I need to start a terminal in which to run the program. How
> to I start a remote, non-X terminal, _without_ running a full login
> session? The answer must be really simple, but I can't figure it out.
>
> --
> .~.
> /V\ Lance Simmons
> /( )\ lance@lsimmons.net
> ^^-^^
>
>
-----
In a world without fences, who needs Gates?
http://www.linux.org/
Reply to: