How to stop a script running in remote server from local script

Hi, I have googled for quite some time and couldn't able to get what exactly I am looking for.. My query is "how to stop a shell script which is running inside a remote server, using a script"??? can any one give some suggestions to sort this out.

If you mean how to stop a process on one server from another server, simplistically you can't! But you can run a remote shell script that connects to the server running the rogue process and kills it there if you can determine its PID and you have permission to kill it.