Solved

Telnet Scripting From Text File

Posted on 2009-05-12
3
435 Views
Last Modified: 2012-05-06
Hi Guys,

I need to run a bunch of commands from Telnet and these commands are on a text file. Whats the best program to use for this? I'm searching for a program that will allow me to first login to the telnet server and then execute this script later.

I'll need detailed logs of the outputs so the windows telnet client might not be my best option.

Thanks
0
Comment
Question by:datgigrinch
3 Comments
 
LVL 38

Accepted Solution

by:
Shift-3 earned 250 total points
ID: 24366873
You can use Plink, a command-line tool which comes with PuTTY, to run telnet commands in a batch script.
0
 
LVL 10

Assisted Solution

by:lanboyo
lanboyo earned 250 total points
ID: 24425661
For a more advanced toolset, look for the scripting language expect, which enables you to chose different commands based on output and such. It is a unix application but do a google on expect/tcl for windows.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Being a system administrator some time we require to do things remotely, one of them is installing software. Here I am going to tell you how to install software through wmic (Windows management instrument console). I am not at all saying that this i…
Hello to you all, I hear of many people congratulate AWS (Amazon Web Services) on how easy it is to spin up and create new EC2 (Elastic Compute Cloud) instances, but then fail and struggle to connect to them using simple tools such as SSH (Secure…
Viewers will learn how to properly install and use Secure Shell (SSH) to work on projects or homework remotely. Download Secure Shell: Follow basic installation instructions: Open Secure Shell and use "Quick Connect" to enter credentials includi…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question