[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help with Expect & Xterm



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
-- 
cameron.kerr@paradise.net.nz
http://homepages.paradise.net.nz/~cameronk/




Reply to: