Running Unix scripts via Windows
#1
Scooby Regular
Thread Starter
Join Date: Mar 2000
Location: Up the F*ing Berks
Posts: 926
Likes: 0
Received 0 Likes
on
0 Posts
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)
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)
#2
Scooby Regular
Join Date: Sep 2001
Location: Kingston ( Surrey, not Jamaica )
Posts: 4,670
Likes: 0
Received 0 Likes
on
0 Posts
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
That reads cr*p ... try something like this ...http://support.pa.msu.edu/help/faqs/...SSHPubKey.html
Steve
#3
Scooby Regular
Thread Starter
Join Date: Mar 2000
Location: Up the F*ing Berks
Posts: 926
Likes: 0
Received 0 Likes
on
0 Posts
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
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
#4
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
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
#5
Scooby Regular
Thread Starter
Join Date: Mar 2000
Location: Up the F*ing Berks
Posts: 926
Likes: 0
Received 0 Likes
on
0 Posts
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.
I'll have a little ticker with ssh and telnet client to get this working.
Thread
Thread Starter
Forum
Replies
Last Post
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