Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Running Unix scripts via Windows

Thread Tools
 
Search this Thread
 
Old 17 February 2004, 03:32 PM
  #1  
Dazzler
Scooby Regular
Thread Starter
 
Dazzler's Avatar
 
Join Date: Mar 2000
Location: Up the F*ing Berks
Posts: 926
Likes: 0
Received 0 Likes on 0 Posts
Question Running Unix scripts via Windows

Hi,

What I need is a utility that can be run as a Windows command line that will automatically log into a Unix box and run a script on there, then logout.

Is this possible ?

Cheers

(probably not explained too clearly so fire any questions my way)
Old 17 February 2004, 03:44 PM
  #2  
stevem2k
Scooby Regular
 
stevem2k's Avatar
 
Join Date: Sep 2001
Location: Kingston ( Surrey, not Jamaica )
Posts: 4,670
Likes: 0
Received 0 Likes on 0 Posts
Default

I think you want a windows command line ssh client and set the ssh-keys up on the windows box with the 'nix public key.

That reads cr*p ... try something like this ...http://support.pa.msu.edu/help/faqs/...SSHPubKey.html

Steve
Old 17 February 2004, 03:57 PM
  #3  
Dazzler
Scooby Regular
Thread Starter
 
Dazzler's Avatar
 
Join Date: Mar 2000
Location: Up the F*ing Berks
Posts: 926
Likes: 0
Received 0 Likes on 0 Posts
Default

Thanks for the info Steve.

I had a read of the link, but not sure if it'll allow a script to be automatically run on the Unix machine, i.e, something along the lines of an automated playback script.

I'll explain the scenario I've got. We have a Gui client on Windows that logs onto a Unix server end product, and we have the potential to run single Windows exes or command lines, but only locally!

What is required is the ability, via a single Windows command line, to log onto the Unix server, run some 4GL scripts and then logback out again.


Does that make sense ?

Thanks
Old 17 February 2004, 09:34 PM
  #4  
dsmith
Scooby Regular
 
dsmith's Avatar
 
Join Date: Mar 1999
Posts: 4,518
Likes: 0
Received 0 Likes on 0 Posts
Default

Most "Host" Client suites will allow scripting of the client App. In a past life I've done it with Attachmate Extra! talking to both Unix & IBM.

Occasionally now I use the Telnet client from the Hummingbird exceed suite to do this. Its macro language is a VBA clone so you manipulate the telnet client to Connect to your host,logon, perform your required command and logout. I'm sure there are many others around aswell that allow similair things (its quite a common requirement).

You could kludge pretty much ANY telnet/shh client to do a repeatable set of commands using VBS and "SendKeys".

Deano
Old 18 February 2004, 09:01 AM
  #5  
Dazzler
Scooby Regular
Thread Starter
 
Dazzler's Avatar
 
Join Date: Mar 2000
Location: Up the F*ing Berks
Posts: 926
Likes: 0
Received 0 Likes on 0 Posts
Default

Cheers Deano, I think my rather slow grey matter is beginning to fire up and understand.

I'll have a little ticker with ssh and telnet client to get this working.
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Abx
Subaru
22
09 January 2016 05:42 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
28
28 December 2015 11:07 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
12
18 November 2015 07:03 AM
hardcoreimpreza
Computer & Technology Related
21
11 October 2015 03:40 PM
Littleted
Computer & Technology Related
0
25 September 2015 08:44 AM



Quick Reply: Running Unix scripts via Windows



All times are GMT +1. The time now is 03:30 PM.