Automatic login for Telnet


I want to telnet some machine and I wonder is there any telnet client that allowes interaction within.

I tried :

echo user
echo password

from windows and in bash.

Any pointers?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

telnet should be enabled on the pc which u r telnetting.
On Windows try:
telnet -a
This option uses the currently logged on (on client Windows machine) user's name.
In former times I used the program CRT-console (?) for just that same feature - you can enter script-like expectations and answers

for example:

expect> "user:"
answer> "your username"
expect> "password:"
answer> "your password"

these answers where filled in automatic, when the expected ascii-code matches

Link to the software:

good luck

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Try PuTTY -

There is a option for a script file: `-m': read a remote command or script from a file

       The `-m' option performs a similar function to the `Remote command'
       box in the SSH panel of the PuTTY configuration box (see section
       4.17.1). However, the `-m' option expects to be given a local file
       name, and it will read a command from that file. On most Unix
       systems, you can even put multiple lines in this file and execute
       more than one command in sequence, or a whole shell script; but this
       will not work on all servers (and is known not to work with certain
       `embedded' servers such as routers).

       This option is not available in the file transfer tools PSCP and

My solution will work (if used) and i think bstrauss too ... the "telnet -a" i can't verify at that moment - so i suggest split to bstrauss and me
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.