Re: launching a program through SSH Michael Heiming wrote:
> In comp.os.linux.setup Rinaldi J. Montessi <rinaldi@senior.envision>:
>
>>On Sat, 11 Dec 2004 18:21:08 +0100, Michael Heiming wrote:
>
>
>>[...]
>
>
>>>>>Sorry but I didn't understood what you were actually trying,
>>>>>please give us the exact commands. Does "nohup progname &" work?
>>>
>>>>man screen This does what the OP wants.
>>>
>>>Yep, another viable solution offering much more flexibility but
>>>more complicated. However it's unclear what the OP is actually
>>>doing, 'nohup progname &' has always worked for my purposes,
>>>starting some long running prog and being able to log off from
>>>some ssh session, keeping the prog running.
>
>
>>And this may be a function of the ssh client I'm using. I know if I begin a
>>process in an ssh session 'nohup progname &' using PuTTY.exe (work w/win98
>>to home w/slack-10.0), when I logout the terminal hangs until the command
>>completes.
>
>
> Dunno, perhaps install a real OS, have been using things like
> that since Linux kernel 2.0 or so, can't really remember, never
> any problem.
>
Hi,
I tried screen, but it will not work from within ssh used as rsh. It
gives "Must be connected to a terminal".
I was trying "ssh -lmyname pear.blah.com screen mysim".
replacing "screen mysim" with "nohup mysim &; exit" gives a bash shell
syntax error unexpected token ';'
Can anyone offer any advice?
Thanks,
Michael |