Re: Remote Command Execution from windows with plink



On 2008-03-18, Ritmo2k <jcasale@xxxxxxxxx> wrote:
I am trying to launch a command remotely from a windows machine on a
Linux server. I composed the commands in a bash script "nohup command
nohup.log &".
When I execute the script from an ssh session using putty it runs and
detaches from the console so I can log off.

When I try to automate this with plink, the output is waited for, and
redirected back to the console forcing the script to wait?

Any ideas how to automate the execution and detach while it runs
remotely?

Thanks!

echo "command" | at now

command will be run by crond and have no relation to your terminal.


--
Christopher Mattern

NOTICE
Thank you for noticing this new notice
Your noticing it has been noted
And will be reported to the authorities
.



Relevant Pages

  • Re: finding a fax in the fax console?
    ... The command line is for the Open command for TIF files. ... > I am still unable to view any faxes from the console. ... >>>>Inbox to the Outlook Inbox. ...
    (microsoft.public.outlook.fax)
  • RE: DLL error prevents me from using Windows...please help...
    ... I tried to open Rcovery Console through SAFE MODE W/ COMMAND ... I'm attempting the Recovery Console EXPAND feature, ... >> I don't have video on my motherboard. ...
    (microsoft.public.windowsxp.general)
  • Re: Which distro for a server?
    ... > everything that I need with only a text console. ... > that doesn't exactly help me in learning linux on my own. ... command line commands or names of configuration files - field-based editing ... me a virtually seamless full screen linux GUI. ...
    (comp.os.linux)
  • Re: cmdEX.exe - augmenting the existing CMD.EXE
    ... interfaces to get to the edit buffer. ... the console could be redirected to a Unicode graphical shell. ... provide extended command line completion for the current context. ... given the current context, and a way of returning the appropriate options.. ...
    (microsoft.public.win2000.cmdprompt.admin)
  • Re: Why isnt OMVS command integrated with ISPF?
    ... the operator never needs to press ATTN before entering a command. ... you can now run a true z/OS console on a VTAM ... z/OS Unix session, if only to see how externalsbehaves under Unix. ...
    (bit.listserv.ibm-main)