Avatar of vishalchavda
vishalchavda

asked on 

Script to simulate remote log in using telnet on an application running remotely

I want to write a script that does the following on an application running on a remote machine:
- telnet to the host machine running the application using its ip address
FOR  LOOP say 20 times
- Send a command which basically logs me into the application e.g.logIn(username, passwrd)
- The application responds by sending a login successful message.
- I disconnect from the telnet session i.e. CTRL + ].
- Reconnect again by telnet as above
END LOOP
SSH / Telnet Software

Avatar of undefined
Last Comment
raehrlich
ASKER CERTIFIED SOLUTION
Avatar of raehrlich
raehrlich
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
SSH / Telnet Software
SSH / Telnet Software

Telnet is an application layer protocol used on the Internet or local area networks to provide a bidirectional interactive text-oriented communication facility using a virtual terminal connection. SSH was designed as a replacement for Telnet and for unsecured remote shell protocols. The term telnet is also used to refer to the software that implements the client part of the protocol. SSH provides a secure channel over an unsecured network in a client-server architecture, connecting an SSH client application with an SSH server.

2K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo