[CentOS] remote command execution

Mon Mar 17 22:39:07 UTC 2008
Ross S. W. Walker <rwalker at medallion.com>

I got the BSD and negate forms mixed up and forgot the &.

C:\rsh host "stty -hup; command&"

-Ross


----- Original Message -----
From: centos-bounces at centos.org <centos-bounces at centos.org>
To: centos at centos.org <centos at centos.org>
Sent: Mon Mar 17 18:27:58 2008
Subject: Re: [CentOS] remote command execution


Use rsh and in the remote command preface it with stty -nohup, like such:

C:\rsh <host> "stty -nohup;<command>"

This will tell the command to disassociate from the shell.

-Ross


----- Original Message -----
From: centos-bounces at centos.org <centos-bounces at centos.org>
To: 'centos at centos.org' <centos at centos.org>
Sent: Mon Mar 17 18:13:48 2008
Subject: [CentOS] remote command execution

I need to launch a job remotely from a Windows machine on a CentOS box, the caveat is that I can't maintain a connection once I have initiated the job. Anyone got an idea how I can accomplish this?

Thanks!
jlc
_______________________________________________
CentOS mailing list
CentOS at centos.org
http://lists.centos.org/mailman/listinfo/centos


________________________________

This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof. 

______________________________________________________________________
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20080317/fae353b4/attachment-0005.html>