Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

Go Back  dBforums > Data Access, Manipulation & Batch Languages > Unix Shell Scripts > executing a shell script using telnet from windows

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-24-07, 09:47
saccskiz saccskiz is offline
Registered User
 
Join Date: Feb 2004
Posts: 136
executing a shell script using telnet from windows

I am running a windows desktop(XP Professional) and connect to a unix solaris machine.
I have a unix shell script that I execute via telnet - like :

telnet server_name
Will enter userid
Will enter password
cd $CARHOME
del_car_reports.ksh
exit

Is there a way to automate this to run on windows. I mean, an icon on the windows desktop which on a double-click
can do the above and exit ? Any ideas or other tricks are appreciated
Reply With Quote
  #2 (permalink)  
Old 09-24-07, 12:44
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 2,227
You can't do it using telnet. However, you can do it using an ssh client (e.g. plink http://www.chiark.greenend.org.uk/~s...download.html). Alternatively, there are built-in Windows tools rsh and rexec but their corresponding daemons are probably disabled on your unix server as they are insecure.
__________________
===
Nick Ivanov
Freelance database consultant
www.datori.org
Reply With Quote
  #3 (permalink)  
Old 09-24-07, 13:24
brdholman brdholman is offline
Registered User
 
Join Date: Nov 2006
Posts: 19
I couldn't get that link to work. How do you get to it from the main page?
Reply With Quote
  #4 (permalink)  
Old 09-24-07, 13:42
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 2,227
google for "putty ssh client"
__________________
===
Nick Ivanov
Freelance database consultant
www.datori.org
Reply With Quote
  #5 (permalink)  
Old 09-24-07, 14:34
saccskiz saccskiz is offline
Registered User
 
Join Date: Feb 2004
Posts: 136
thank you. i will sure get one
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

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