Running unix script from windows.


 
Thread Tools Search this Thread
Operating Systems Solaris Running unix script from windows.
# 1  
Old 07-11-2010
Running unix script from windows.

Hi All,

I need to call a unix script from windows bat file, please help if that can be done.
I cant install cygwin or putty or any other ssh on server.....!
do we have anything else?
# 2  
Old 07-11-2010
Quote:
Originally Posted by fidelis
do we have anything else?
nope!

if you need to run a script... you need access. the only other way might be telnet (telnet client is integrated in windows). but note, telnet is not safe because it is not encrypted.
# 3  
Old 07-11-2010
Data

Thanks Duke.

I am trying that out...
if any prob will revert back to bug again......!Smilie

will reply back whether success or failure.....Smilie

---------- Post updated at 03:10 PM ---------- Previous update was at 02:25 PM ----------

Its not working Smilie

i want to automate a process but not finding any way to login and run script automatically...!

want to schedule a job so no user i/p is needed......!

Please help.........Smilie
# 4  
Old 07-11-2010
if you want to schedule the job, use "cron" from the unix machine. without addon software (ssh; expect) on windows side you won't be able to do what you want...
# 5  
Old 07-11-2010
Question

cant do that as job run time depends on completion of a job which runs on windows.....

so i was trying to add a cal to batch file which needs to be run in windows manually.........!

this batch file on being called should in turn run a script in unix.....!

no way to do that.......Smilie
# 6  
Old 07-12-2010
If you want to run the script from windows to unix & make it as automative...! Try the below options..

1. If ssh is installed on windows server , then exchange the appl id key to
unix box in corresponding ID's Homepath file $APPID/.ssh/authorized_keys.

2. Then run the ssh id@unixbox "sh scriptname".
# 7  
Old 07-12-2010
but i don have any ssh installed.....!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Running Linux Script from Windows

forgive me if i am posting this question in wrong forum. I have a rsync script that runs on one server for rsync with another server (both linux) . Now I want to get control of that script from my windows 7 machine. Means I want to run that script from my windows machine whenever i want... (1 Reply)
Discussion started by: HarryReid
1 Replies

2. Shell Programming and Scripting

To access UNIX server from Tk application running on Windows

Hi, I am new to this forum and this is my first post. I want to know that if I make an application in Tk (version of Tcl to create GUI) in windows and want to run to UNIX server, is it possible ? In other words, can I access a UNIX server through a Tk application running on windows ? ... (1 Reply)
Discussion started by: ratneshnagori
1 Replies

3. AIX

Running unix command from windows? How?

Hello Folks, I have a need to execute certain scripts on a regular basis on a number of (AIX) servers. What I had in mind, is to accomplish this using ssh/rsh, auto login. Initially I developped the script, which can be invoked from one of the AIX servers (by loggin into the first host), and... (4 Replies)
Discussion started by: haroon_a
4 Replies

4. Windows & DOS: Issues & Discussions

Running UNIX in windows environment ?

Hi... I have planned to run UNIX application in window environment such as cygwin. Actually, I have download the "cygwin" software but there are some libraries are not applicable in the software. Due to that, anybody know any others unix sofware can be run in windows XP environment ? (1 Reply)
Discussion started by: bh_hensem
1 Replies

5. UNIX for Dummies Questions & Answers

Running UNIX commands remotely in Windows box from Unix box – avoid entering password

I am able to run the UNIX commands in a Windows box from a UNIX box through "SSH" functionality. But whenever the SSH connection is established between UNIX and Windows, password for windows box is being asked. Is there a way to avoid asking password whenever the SSH connection is made? Can I... (1 Reply)
Discussion started by: D.kalpana
1 Replies

6. UNIX Desktop Questions & Answers

Running MS-windows GUI from unix/linux

Hi i need some help , i would like to run a GUI application on windows from unix i dont need to see the gui just to activate it from remote . it shoud be from CLI on the unix . thanks GUY (1 Reply)
Discussion started by: koreng
1 Replies

7. Shell Programming and Scripting

Running windows command from Unix

Hi, Is there any way to invoke a Windows command from Unix ?? For eg: I want to track down a user executing a script and want to send him a message through net send in windows .. I am able to get the user machines ip ... and since I want my message to be popped up in users screen, wud... (4 Replies)
Discussion started by: Sabari Nath S
4 Replies

8. UNIX for Advanced & Expert Users

Running windows command from Unix

-------------------------------------------------------------------------------- Hi, Is there any way to invoke a Windows command from Unix ?? For eg: I want to track down a user executing a script and want to send him a message through net send in windows .. I am able to get the user... (1 Reply)
Discussion started by: Sabari Nath S
1 Replies

9. UNIX for Dummies Questions & Answers

Running a UNIX command from Windows

Hi I need to run a UNIX command from Visual C++ Windows program. I was thinking of the Windows program generating a dummy file on the UNIX drive. On the UNIX box I could have a simple FORTRAN porogram searching continually for this dummy file and executes the UNIX command when the file... (2 Replies)
Discussion started by: robbiegregg
2 Replies

10. UNIX for Advanced & Expert Users

Updating a csv file held on a unix box with excel running on windows

Hi, my question is quite simple: Can I update a csv file which is held on a unix box (and which a script on the same box uses) with Microsoft Excel running in a windows environment? Or, is there a free spreadsheet package available to run in unix that will update my csv file. I know it's easy to... (5 Replies)
Discussion started by: Sn33R
5 Replies
Login or Register to Ask a Question