Yaron Peryanty wrote:
> My script uses Expect 5.8.7 with TCL and plink.exe (version 0.59) to > connect to Solaris machine via SSH protocol.> > The login phase is finished successfully and then it run the passwd > command.> > After sending the â??passwdâ? command to the target machine the expect > identify an EOF and stop executing.
What version of Expect is that really? I would expect 5.43 or
thereabouts. Have you tried following the remotels.tcl script that
comes as a demo in ActiveTcl as an example?
Jeff
_______________________________________________
Expect mailing list
Expect@[...].com
http://listserv.ActiveState.com/mailman/listinfo/expect