Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I want to connect to my UNIX server through a DOS batch file calling a telnet connection, I can get to the login prompt, but i wish to bypass my login/password from my batch file, any ideas people?
thanx
Matt

And how do you expect to get access to your account on the Unix system? Maybe as anonymous, but you will have very limited access to any files. Therefore to accomplish anything on the Unix system, you will need a valid account, meaning you cannot bypass the login and password sections.
Sorry for the news and hope this helps.

I think you're looking for a DOS script to automatically enter your login and password. Typically you can obtain a login script from your system administrator.

Why do not you use expect. This is a langauge used to automate interactive programs. You need to learn a small expect program....I hope this helps you

It may be possible to setup your batch so that is uses values from another file for your user name and password, something like:
\type name.txt
username
password
\batch.bat < name.txt
let me know

Hi Matt.
I read your doubt about connect to your UNIX server through a DOS batch file.
Well, I´m trying to do the same thing. I want to connect in my UNIX server using a telnet connection to run a unix shell script.
Maybe the solution can be to find a telnet program that let you define a file to run like a script inside this telnet program.Somebody have any ideia?

![]() |
Intel 810 video drivers
|
Digitizing tablet on UNIX...
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |