6741
Mar 24, 2006, updated at 20:42:02 (UTC)
4472
3
0
Auto Telnet Programm
Hallo,
ich suche ein Programm dem ich den Telnetuser und Passwort sagen kann und das dann auch ein Script auf Telnetebene ausführt. Speziell geht es um das manangen von Cisco bzw HP Switchen. Ich setze einen sehr langen Befehl ab und den möchte ich nicht immer wieder eingeben müssen.
Danke vorab
ich suche ein Programm dem ich den Telnetuser und Passwort sagen kann und das dann auch ein Script auf Telnetebene ausführt. Speziell geht es um das manangen von Cisco bzw HP Switchen. Ich setze einen sehr langen Befehl ab und den möchte ich nicht immer wieder eingeben müssen.
Danke vorab
Please also mark the comments that contributed to the solution of the article
Content-Key: 28918
Url: https://administrator.de/contentid/28918
Printed on: April 18, 2024 at 23:04 o'clock
3 Comments
Latest comment
Windows? Linux?
Bei Linux kann man sowas mit "expect" machen.
INTRODUCTION
Expect is a program that "talks" to other interactive programs accord-
ing to a script. Following the script, Expect knows what can be
expected from a program and what the correct response should be. An
interpreted language provides branching and high-level control struc-
tures to direct the dialogue. In addition, the user can take control
and interact directly when desired, afterward returning control to the
script.
Bei Linux kann man sowas mit "expect" machen.
INTRODUCTION
Expect is a program that "talks" to other interactive programs accord-
ing to a script. Following the script, Expect knows what can be
expected from a program and what the correct response should be. An
interpreted language provides branching and high-level control struc-
tures to direct the dialogue. In addition, the user can take control
and interact directly when desired, afterward returning control to the
script.