[ale] Command name

Jim Kinney jim.kinney at gmail.com
Mon Oct 10 21:10:33 EDT 2011


The right tool is a signed rpm with my key as the package and an auto update
later from the private repo and it's done.
Expect was my third choice.
On Oct 10, 2011 8:19 PM, "Geoffrey Myers" <lists at serioustechnology.com>
wrote:

> Sounds to me that expect would have been the right tool.
>
> Jim Kinney wrote:
> > Wanting to use a script to install ssh keys to a bazillion machines. :-)
> > Yes doesn't play well with ssh.
> > Got it down to a script and ctl-v. Another 100 to go...
> >
> > On Oct 10, 2011 4:48 PM, "Dennis Ruzeski" <denniruz at gmail.com
> > <mailto:denniruz at gmail.com>> wrote:
> >
> >     Expect is what you want-- ssh won't take input from redirected stdin.
> >
> >     Here's some things that won't work-
> >
> >     $echo 'password' |ssh username at hostname
> >
> >     Variations on a script-
> >     #!/bin/bash
> >     ssh username at host << EOF
> >     password
> >     EOF
> >
> >     While expect will do this, a cleaner and more secure way to set this
> >     up is with shared key authentication.
> >
> >     --Dennis
> >
> >
> >
> >
> >
> >     On Mon, Oct 10, 2011 at 4:29 PM, chip <chip.gwyn at gmail.com
> >     <mailto:chip.gwyn at gmail.com>> wrote:
> >
> >         Possibly 'yes' ?
> >
> >         -> which yes
> >         /usr/bin/yes
> >
> >         NAME
> >               yes - output a string repeatedly until killed
> >
> >         SYNOPSIS
> >               yes [STRING]...
> >               yes OPTION
> >
> >         DESCRIPTION
> >               Repeatedly output a line with all specified STRING(s), or
> ‘y’
> >
> >         On Mon, Oct 10, 2011 at 4:09 PM, Jim Kinney
> >         <jim.kinney at gmail.com <mailto:jim.kinney at gmail.com>> wrote:
> >          > Looking for a command name. Google is not my friend
> >          >
> >          > Usage: <command> 'string'
> >          > It echos string to any avail stdin. Really useful to toss a
> >         password into
> >          > for a long series of logins.
> >          > Scanning /usr/bin not helping.
> >          >
> >          > For I on $(seq 1 254) do
> >          > <command> 'mypass' ssh me at host rpm -qa|grep foo
> >          > Done
> >          >
> >          > _______________________________________________
> >          > Ale mailing list
> >          > Ale at ale.org <mailto:Ale at ale.org>
> >          > http://mail.ale.org/mailman/listinfo/ale
> >          > See JOBS, ANNOUNCE and SCHOOLS lists at
> >          > http://mail.ale.org/mailman/listinfo
> >          >
> >          >
> >
> >
> >
> >         --
> >         Just my $.02, your mileage may vary,  batteries not included,
> >         etc....
> >
> >         _______________________________________________
> >         Ale mailing list
> >         Ale at ale.org <mailto:Ale at ale.org>
> >         http://mail.ale.org/mailman/listinfo/ale
> >         See JOBS, ANNOUNCE and SCHOOLS lists at
> >         http://mail.ale.org/mailman/listinfo
> >
> >
> >
> >     _______________________________________________
> >     Ale mailing list
> >     Ale at ale.org <mailto:Ale at ale.org>
> >     http://mail.ale.org/mailman/listinfo/ale
> >     See JOBS, ANNOUNCE and SCHOOLS lists at
> >     http://mail.ale.org/mailman/listinfo
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Ale mailing list
> > Ale at ale.org
> > http://mail.ale.org/mailman/listinfo/ale
> > See JOBS, ANNOUNCE and SCHOOLS lists at
> > http://mail.ale.org/mailman/listinfo
>
>
> --
> Until later, Geoffrey
>
> "I predict future happiness for America if they can prevent
> the government from wasting the labors of the people under
> the pretense of taking care of them."
> - Thomas Jefferson
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.ale.org/pipermail/ale/attachments/20111010/f1185d0c/attachment.html 


More information about the Ale mailing list