On Wed, Mar 12, 2003 at 01:47:04PM -0600, Kaushik E. Lakshmanan wrote: > > > Hi, > > I am trying to invoke an executable/batch file that exists in machine B > from another machine A. > > machine A is a Linux machine , but machine B is a windows 2000. > > Has anyone done something like this before. PLease let me know.
you could use cygwin (http://www.cygwin.com) and install sshd upon it and ssh from linux->windows (ssh windows c:\\path\\to\\command). you could use IIS (or apache) on windows and have a CGI execute the file on windows from a browser on linux. you could enable telnetd on win2k and write an expect script for linux that telnets to the windows machine, logs in, and runs your command. you could use VNC (http://www.tightvnc.com) to attach to your windows desktop from any browser and run it thru the gui. and there are more. nc is probably the easiest generic client/server you can setup, but it's not too hard to write one in perl and i'd hope not to write one in C (i've never tried writing daemons or network code for windows in C), that include authentication if you so desire. of the above, i'd probably use VNC for anything GUI or for executing it anything less than 5 times total, and cygwin+ssh (and passwordless authentication, depending on how i need it run) for a more permanent solution. you'll want to find documents on the web detailing ssh+cygwin setup to save yourself massive headaches; it's not quite intuitive. luck++; _______________________________________________ Siglinux mailing list [EMAIL PROTECTED] http://www.utacm.org/mailman/listinfo/siglinux
