On Wed, 13 Feb 2002, Jay Mallar wrote:

>spawn telnet <ip here>
>sleep 5
>send "login <name here>"
>sleep 5
>send "<pass here>"

Look at the docs (man expect) for log_user, and interact

>Starting up three xterms isn't a problem, but automating the logins is..

Is there any reason you can't do it the right way and use ssh, with
ssh-agent?

Cameron Kerr
-- 
[EMAIL PROTECTED]
http://homepages.paradise.net.nz/~cameronk/


Reply via email to