LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-01-2003, 03:59 PM   #1
chrisk5527
Member
 
Registered: Oct 2002
Location: Michigan
Distribution: Slackware Linux 10.0
Posts: 289

Rep: Reputation: 30
*NIX Script Executing from Windows


By chance, does anyone know of a program that would allow a windows user to execute a script on a *NIX server? I'm thinking something along the lines of a client/server application, but I'm not sure if its out there, and if it is, I cant find it.

Thanks
Chris
 
Old 05-01-2003, 04:05 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Cygwin -> rsh?


Cheers,
Tink
 
Old 05-01-2003, 04:09 PM   #3
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Telnet or ssh could do it too if you mean executing it "on the server".
 
Old 05-01-2003, 05:09 PM   #4
chrisk5527
Member
 
Registered: Oct 2002
Location: Michigan
Distribution: Slackware Linux 10.0
Posts: 289

Original Poster
Rep: Reputation: 30
I need some way of automating a login to a UNIX box from Windows to run a shell script that I wrote.
 
Old 05-01-2003, 05:14 PM   #5
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Use putty on windows to ssh to the linux box with a passwordless login using rsa.

Simple
 
Old 05-01-2003, 05:34 PM   #6
chrisk5527
Member
 
Registered: Oct 2002
Location: Michigan
Distribution: Slackware Linux 10.0
Posts: 289

Original Poster
Rep: Reputation: 30
Its not a Linux box, its a Sun box without SSH installed. Is there really any other solution without installing SSH?
 
Old 05-01-2003, 09:11 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
install cygwin, use rsh :P


Cheers,
Tink
 
Old 05-02-2003, 05:29 AM   #8
bimble
Member
 
Registered: Dec 2001
Location: Chester, GBR
Distribution: Mostly Ubuntu
Posts: 48

Rep: Reputation: 15
Could you run the script as CGI-BIN from www page?; click button, run script!

Or, like I sometimes do:

Put a <!--#exec cmd="/path/to/script"> into a SHTML page (Sun Webserver has SSI support, you just need to set the x-bit-hack to 'on'); load the page, run the script!

Admittedly you'd only get permissions of the server daemon but if it's not a security problem you cound run the server as root

Last edited by bimble; 05-02-2003 at 05:33 AM.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
executing a script!! vishamr2000 Linux - Security 5 07-29-2005 02:34 AM
Executing install script for ... securehack Linux - Software 6 05-24-2005 11:02 AM
Script is not executing in Apache!!! linux_child001 Linux - Newbie 1 06-22-2004 05:10 AM
Executing iptables script dat64597 Linux - Security 1 02-09-2003 07:02 PM
executing a shell script from C llama_meme Programming 2 04-01-2002 09:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration