automate Telnet ?

Hi,

I have to run a script shell on a unix server from my windows PC. For that, I open a cmd windows and use Telnet to connect to the unix and run the script (by the .profile of a special user). Is it possible to automate Telnet in order to not enter the user and the password ?

Anyway, has anybody another idea ?

Thanks

  Thierry

Use Putty's "plink.exe". This is like running ssh on the command line. Lets you set up all the login etc by certificates and can be happily run from batch files.

you can achieve passwordless automation using ssh.

I wil second ghostdog74 views on this. password less or key based ssh authentication is more secure than conventional telnet.

Putty's plink *is* an implementation of ssh, but it's a native windows application without requiring a ton of cygwin.