1.

Solve : Automate Telnet?

Answer»

Hi,

NEED to login to different boxes (Windows, Linux, SunOS,etc...) using menu option and through telnet program, the issue is i cannot pass user id and password in the telnet option -l.

Hence need any suggestions how to go about it.

Thanks & Regadssuggestion: Use SSH instead if you want passwordless CONNECTION. Set up the appropriate keys between each party then you can script your SSH connection. Check the documentation of your SSH distribution to SEE how to use and configure it.
Telnet is not secure.

If SSH is not an option and you absolutely have to use telnet, you can use Perl/Python with its available telnet libraries for AUTOMATION. Eg Perl's telnet module. ALSO Python's telnet library.



Discussion

No Comment Found