Execute a shell script in UNIX server from Cygwin

Hi All,

We have shell scripts in UNIX ( Sun OS ) server.

Also in my windows machine i have Cygwin installed.

Now is there a way to execute Shell script available in UNIX server from Cygwin?

Where do you want to run the scripts? In your local or in the server?

I want to invoke the Script on remote machine ( UNIX server ) from local machine ( Cigwin )

You could try and open a remote session to the server from cygwin by using ssh or any other available means.

Try:

ssh user@hostname

from your cygwin

In addition to using ssh from Cygwin to connect to a Solaris server, you can authenticate using public/private key authentication and specify the -c to run a particular command. But if you are trying to schedule a job to run on a Solaris server, why wouldn't you use cron to run the job? :rolleyes:

Then you don't need Cygwin to run the job.