November 01, 2024, 02:36:32 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Automatic Telnet using script ( Non-interactive mode)  (Read 6569 times)

Offline anil_garg5

  • Linux Learner
  • ***
  • Posts: 71
Automatic Telnet using script ( Non-interactive mode)
« on: February 11, 2006, 07:49:11 AM »
Hi friends,
I need to know how can I use telnet command by giving user name and password with it in a script ( means in non-interactive mode) ?

Is there any other option if I have to remote login in multiple servers to check some service heath status without login each server individually ?

Please guide.

Thanks.
Anil

Offline dragoncity99

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 551
Automatic Telnet using script ( Non-interactive mode)
« Reply #1 on: March 03, 2006, 09:39:58 AM »
Use the tool called "expect"

U can get it here.


http://expect.nist.gov/