I have createted a short shell script to telnet to a remote host.
I cannot figure out how to pass the username and password within the script. (env = HP-UX).
I don't think this is possible (or secure even if it was). Some people have had success doing this sort of thing using an application called expect, but I'm afraid I've never used it. Perhaps someone who has can elucidate?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.