Remote execution on Win machine

2007-10-09 Thread Mirco Piccin
Hi all.
I need to launch on a Win remote machine a .bat script (that run an .exe
file) from another linux machine.
Is there a way to do that?

Probably using cygwin i could, but it would be better to install less
possible on that Win machine.

Thanks!


Re: Remote execution on Win machine

2007-10-09 Thread Carl Fink
On Tue, Oct 09, 2007 at 02:27:55PM +0200, Mirco Piccin wrote:
 Hi all.
 I need to launch on a Win remote machine a .bat script (that run an .exe
 file) from another linux machine.
 Is there a way to do that?
 
 Probably using cygwin i could, but it would be better to install less
 possible on that Win machine.

How about rdesktop/grdesktop?
-- 
Carl Fink   [EMAIL PROTECTED] 

Read my blog at nitpickingblog.blogspot.com.  Reviews!  Observations!
Stupid mistakes you can correct!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Remote execution on Win machine

2007-10-09 Thread Mirco Piccin
Hi

How about rdesktop/grdesktop?


Well, i don't know if i can run remotely a .bat script on a Win machine with
rdesktop, but i know that i don't want to remote connect to this machine
(like a terminal client).

Also, the linux box is without X.
Anyway, you mean the -s rdesktop option?


Re: Remote execution on Win machine

2007-10-09 Thread Kevin Mark
On Tue, Oct 09, 2007 at 02:27:55PM +0200, Mirco Piccin wrote:
 Hi all.
 I need to launch on a Win remote machine a .bat script (that run an .exe file)
 from another linux machine.
 Is there a way to do that?
 
 Probably using cygwin i could, but it would be better to install less possible
 on that Win machine.
 
 Thanks!
Would this work:
run a ssh server on the windows machine?
then use ssh on the linux box to run the command on the windows box?


-- 
|  .''`.  == Debian GNU/Linux == |   my web site:   |
| : :' :  The  Universal |mysite.verizon.net/kevin.mark/|
| `. `'  Operating System| go to counter.li.org and |
|   `-http://www.debian.org/ |be counted! #238656   |
|  my keyserver: subkeys.pgp.net | my NPO: cfsg.org |
|join the new debian-community.org to help Debian!  |
|___  Unless I ask to be CCd, assume I am subscribed ___|


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Remote execution on Win machine

2007-10-09 Thread Mirco Piccin
Hi again.

I need to launch on a Win remote machine a .bat script (that run an .exe
file)
from another linux machine.

I've not found any way to launch a .bat script using rdesktop, because it
open a graphical remote desktop session.
I don't need that and it does not work as i espected.

So, i'm considering cygwin.
I've installed cygwin on a test remote win machine, and install sshd.
Now, i can run a script  using ssh:

ssh user@win_ip cmd /c path_to_my_script

Because of it's a test machine, i'm temporary not able to check if the
correct script work.
Anyway, my test script do:
- create a file;
- launch calc.exe;

The result:
- file was created on win machine;
- on task bar i see the calc.exe process, but i'm not able to see anything
on win machine.

I suppose that it's working a kind of X redirection but it could be
possible to disable this kind of redirection? And open a graphical
application remotely?
Surely i will not need to launch a graphical application, but now i'd like
to understand better.
Any suggests?

Thanks!


Re: remote execution

1999-05-14 Thread Anders Arnholm
Robert Vollmert wrote:
  Currently, I'm using ssh with a /root/.shosts file on B, but this
  seems a little dangerous. Any better suggestions?


ssh using RSA authentication to a dummy user on the remote host, use sudo to 
run that script as root. This will only make that command possible from 
outside.

/ Anders


remote execution

1999-05-13 Thread Robert Vollmert
Hi,

What is the safest way to execute a command as root on a remote
computer? What I'm trying to do is run a script on computer B when
computer A brings up a PPP link. This script has to be run as root.
Currently, I'm using ssh with a /root/.shosts file on B, but this
seems a little dangerous. Any better suggestions?

TIA, Robert

-- 
Robert Vollmert  [EMAIL PROTECTED]


remote execution

1998-03-03 Thread Ciccio
Hi,

I've a debian/linux box as a server for a LAN with all kinds of windows, 
running samba and ksmbfs. Is there any posibility to execute remotely a 
non-interactive program from the linux on any of the windows?

Please respond to [EMAIL PROTECTED], as I'm not currently on this list.

Thanks,

ciccio



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .