1. Getting started on scripting telnet sessions from a Linux client
I'm trolling for some tips on scripting telnet sessions; at this point,
knowing very little about possibilities under Linux, I'm still in the "don't
know the right questions or even how to phrase them" stage.
I want to log into a Linux system (Red Hat 7.1 or Mandrake 8.0) remotely via
telnet, then telnet on out to (no shudders, please) Windows 2000 systems,
issue a series of commands, react to the output, and terminate the
connection automatically; I will be logging the entire session also.
I currently have a couple of Mandrake 8 systems available for test purposes;
I am already aware of the annoyances with the Windows 2000 telnet server
(N.B. - for those of you who aren't, you need to turn off NTLM
authentication, do a bunch of shimming if you want SSH, and any shell
commands in Win2K that produced formatted output will echo tons of ASCII
control chars to your log).
I'm finding man telnet a bit overwhelming - I know I will eventually
appreciate that, but for now-
+are there any good references for *nix-based telnet scripting on the
Internet?
+This should probably have been the first question. I see no refs in the
telnet man page for scripting or logging. It seems to me that the Linuxish
reason for this would be that telnet is just telnet, and logging, etc and
scripting it is done via standard I/O scripting in your favorite shell. Is
this true?
+finally, any points on telnet clients/servers between Linux and Windows
environments? I've resolved most of my problems in the past by just using
Teraterm configured as I wish, but I'd like to get a better understanding of
the actual underlying issues I could see if I do much with this.
Thanks in advance -
Alex
--
==============================
Nyrk Natrybcbhybf
ZPFR, ZPC+V, AGPVC
(Try are-oh-tee thirteen)
==============================
2. Linux with RM rom network cards?
3. Script Telnet Sessions
4. My ugly Solaris 2.6 x86 experience(s)
5. Script telnet sessions--Expect
6. Got Cannot open /dev/console with startx.
7. Scripting Telnet sessions....
8. KMail spell-checking
9. Script Telnet Sessions
10. Scripting a telnet session
11. Noninteractive telnet session with sh script?
12. difference in telnet session and init script
13. script to send and receive to and from a telnet session