LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to run a script to a remote linux machine from a windows machine (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-run-a-script-to-a-remote-linux-machine-from-a-windows-machine-723653/)

squirrel001 05-04-2009 03:03 PM

How to run a script to a remote linux machine from a windows machine
 
Hello,
I need to run a script to a remote linux machine from a windows machine. Which program do i need to use for this? Please provide me guideline.
Thanks

Tinkster 05-04-2009 03:30 PM

What does "run a script to a remote linux machine" mean to you?
Can you re-phrase that?


Cheers,
Tink

squirrel001 05-04-2009 04:53 PM

Hi,
With remote linux machine i just meant a server machine running on linux. Usually i log on the linux server by citrix ica client from windows and run my required scripts. I just want to run the required scripts with some automated program/script in windows (without logging in via citrix).
Thanks.

Tinkster 05-04-2009 04:59 PM

Well ... you'll need to connect to the machine SOMEHOW to run
something on it.
There's ssh as a good option, you can even run things w/o
an interactive login session, e.g.
Code:

ssh user@host "/path/to/script parameter"

Cheers,
Tink

billymayday 05-04-2009 05:56 PM

From Windows, you may want to look into the putty ssh client to do as Tinkster suggests. See http://www.chiark.greenend.org.uk/~sgtatham/putty/.

The plink utility is the command line version in the putty suite.

squirrel001 05-04-2009 06:06 PM

Thanks a lot. I am going to try it.


All times are GMT -5. The time now is 06:21 AM.