Automatic login for Telnet

Hi

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

I tried :

telnet 192.168.1.1
echo user
echo password


from windows and in bash.

Any pointers?
LVL 5
muhalokAsked:
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.

rattle143Commented:
telnet should be enabled on the pc which u r telnetting.
0
rkotowicCommented:
On Windows try:
telnet -a 192.168.1.1
This option uses the currently logged on (on client Windows machine) user's name.
0
holger12345Commented:
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: http://www.vandyke.com/products/crt/

good luck
Holger
0

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
bstrauss3Commented:
Try PuTTY - http://www.chiark.greenend.org.uk/~sgtatham/putty/

There is a option for a script file:

3.7.3.6 `-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
       PSFTP.


-----Burton
0
holger12345Commented:
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
Holger
0
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
Networking

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.