The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > AIX
.
google unix.com



AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Running UNIX in windows environment ? bh_hensem Windows & DOS: Issues & Discussions 1 05-10-2007 07:25 PM
Running UNIX commands remotely in Windows box from Unix box – avoid entering password D.kalpana UNIX for Dummies Questions & Answers 1 04-20-2007 05:24 AM
Running windows command from Unix Sabari Nath S Shell Programming and Scripting 4 09-16-2005 10:55 AM
Running windows command from Unix Sabari Nath S UNIX for Advanced & Expert Users 1 09-07-2005 03:33 AM
Running a UNIX command from Windows robbiegregg UNIX for Dummies Questions & Answers 2 03-20-2005 12:51 PM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 2 Weeks Ago
haroon_a haroon_a is offline
Registered User
  
 

Join Date: Oct 2009
Posts: 17
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 the script will in turn, login to each AIX server and execute those scripts in correct sequence, one server after the other.

But, now I'm asked to do the same thing, without loggin into the AIX server at all. I require to do it from a windows machine.

I've read some posts, that its possible to execute unix commands from windows environment.

Can someone please advise, on how/which method can I use? Thanks in advance.

Regards.
  #2 (permalink)  
Old 2 Weeks Ago
pogdorica's Avatar
pogdorica pogdorica is offline
Registered User
  
 

Join Date: Oct 2009
Location: Madrid
Posts: 53
Hi.

You can read about "UWIN - unix for Windows" or Cygwin software.
  #3 (permalink)  
Old 2 Weeks Ago
haroon_a haroon_a is offline
Registered User
  
 

Join Date: Oct 2009
Posts: 17
Thanks for suggestion. Can you tell me if the following will be ab option:

- using putty's plink.exe, i can generate a key pair for one aix server, and provide the public key in my windows PC. then using plink.exe, i can connect to first aix server (place the wrapper shell script in that first server) and launch the wrapper script.

Or, pur a wrapper script on each aix server, and from my batch script, i can connect to each aix server and invoke its respective wraper script.
  #4 (permalink)  
Old 2 Weeks Ago
pogdorica's Avatar
pogdorica pogdorica is offline
Registered User
  
 

Join Date: Oct 2009
Location: Madrid
Posts: 53
Sorry, i canīt help you about that.
  #5 (permalink)  
Old 2 Weeks Ago
haroon_a haroon_a is offline
Registered User
  
 

Join Date: Oct 2009
Posts: 17
Quote:
Originally Posted by pogdorica View Post
Sorry, i canīt help you about that.
I've tried the solution, which i was explainin in my last post. When I tried to launch the script from windows, it launch the script alright; however, since the script is interactive (asks user for input), I wasn't able to complete it, basically, I couldn't enter a response. So, I guess I'll have to stick with logging into first AIX host, and then execute my script from there.

Thanks.
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:10 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0