WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Telnet

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Telnet Command Line Utility For Experts

Question:

I am trying to initiate a perl script on a linux box. The IP of the Linux box is:216.204.123.132 the perl script is called auser. I need to make a winbatch script that will log in as root on the linux box (user and password)which I should be able to do with a sendkey command. How do I get win batch to talk to that IP address to send the commands? I would apprciate what ever info I can get. Right now i'm sending it through a 3rd party program called PuTTY. This is very round about way to do it and I don't like to rely on 3rd party software to complete my task. I want my win batch script to do it.

Answer:

  1. Here is a Winbatch script that can do Telnet...
    Winbatch Telnet Example
    
  2. If you can accept plain old Telnet sessions then the zip file link below will let you do what you want to do within a WinBatch script. This script was originally developed to allow an ISP business automation program [written in FileMaker Pro] to automatically manage accounts on remote Unix systems whenever customer accounts were modified in the billing system.

    Please refer to the file "Telnet Command Line Utility.html" file for full details on how to install and use this program.

    telnetutil.zip


Article ID:   W14962
File Created: 2017:08:29:11:58:58
Last Updated: 2017:08:29:11:58:58