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

Re: Help with Expect & Xterm



On Wednesday 13 February 2002  9:46 pm, Cameron Kerr wrote:
> 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

Thanks Cameron - after another day with the man page, I figured it out - and 
pointing me to log_user and interact again did some good.

Thanks!



Reply to: