[SunHELP] Automating a telnet session.

Thomas Cameron sunhelp at sunhelp.org
Wed Sep 19 14:42:00 CDT 2001


Lance -

I strongly caution against using telnet.  It is highly insecure - it
sends plain text passwords over the network.

Use ssh instead.  You can easily set ssh up to "auto-login."  Check the
man pages for ssh-keygen and ssh-agent.  Go to www.openssh.org and check
it out.

Regards,
Thomas


Lance Sequeira wrote:
> 
> Hi Folks,
> 
> I have an application that requires the user to telnet
> to a machine (from a Windows PC) and run a command. I
> want to save the user the effort of typing in the
> username and password and then typing out a command at
> the prompt. Can all these be done by a single script
> or batch file?
> 
> Any lead shall be appreciated.
> 
> Thanks,
> Lance.
> 
> __________________________________________________
> Terrorist Attacks on U.S. - How can you help?
> Donate cash, emergency relief information
> http://dailynews.yahoo.com/fc/US/Emergency_Information/
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp



More information about the SunHELP mailing list