Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2004
    Posts
    143

    Unanswered: 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

  2. #2
    Join Date
    Jun 2003
    Location
    Toronto, Canada
    Posts
    5,516
    Provided Answers: 1
    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.
    ---
    "It does not work" is not a valid problem statement.

  3. #3
    Join Date
    Nov 2006
    Posts
    19
    I couldn't get that link to work. How do you get to it from the main page?

  4. #4
    Join Date
    Jun 2003
    Location
    Toronto, Canada
    Posts
    5,516
    Provided Answers: 1
    google for "putty ssh client"
    ---
    "It does not work" is not a valid problem statement.

  5. #5
    Join Date
    Feb 2004
    Posts
    143
    thank you. i will sure get one

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •