man expect
However, it's a bad idea to have a script that telnets in without any
prompting to the user. Telnet, itself, is inherently insecure, of its own
accord, as it sends the username and password out in clear text, and
there's no encryption of the session, either.
Add to that, now that
Title: Message
Hi
I want to have a shell script for
telnet, the other users must use it without any interactivities, I remember
there is a way in shell programing that we can write some commands of some
applications in shell script , such as open, user, passwd of ftp, bash would
transfer t