Computing.Net > Forums > Unix > telnet through shell script

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

telnet through shell script

Reply to Message Icon

Name: rvarman
Date: May 6, 2003 at 03:15:57 Pacific
OS: solaris 8
CPU/Ram: sparc
Comment:

Hi,
can i do telnet to the remote machine with automatic login and password through shell script ? if yes how.
I've tried the answer given by someone but it doesn't work.

regards

appreciate your help



Sponsored Link
Ads by Google

Response Number 1
Name: David Perry
Date: May 6, 2003 at 05:10:52 Pacific
Reply:

It is difficult for a shell to do interactive work like telnet, rlogin, passwd. Have you tried expect ?

http://expect.nist.gov/


0
Reply to Message Icon

Related Posts

See More







Post Locked

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


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: telnet through shell script

telnet through shell script www.computing.net/answers/unix/telnet-through-shell-script/4447.html

telnet & ftp through shell script?! www.computing.net/answers/unix/telnet-amp-ftp-through-shell-script/4850.html

Unix SHELL SCRIPTS www.computing.net/answers/unix/unix-shell-scripts/4885.html