Re: remote command execution

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Title: Re: remote command execution

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

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

-Ross


----- Original Message -----
From: centos-bounces@xxxxxxxxxx <centos-bounces@xxxxxxxxxx>
To: centos@xxxxxxxxxx <centos@xxxxxxxxxx>
Sent: Mon Mar 17 18:27:58 2008
Subject: Re: 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@xxxxxxxxxx <centos-bounces@xxxxxxxxxx>
To: 'centos@xxxxxxxxxx' <centos@xxxxxxxxxx>
Sent: Mon Mar 17 18:13:48 2008
Subject: 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@xxxxxxxxxx
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.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux