Actually, yes, that's right - if it is entered by hand once, it is cached. I may have misread what SL wanted - the -I flag is mostly useful for when you want to ensure you prime it up front instead of waiting to be prompted. This is especially good for parallel runs when you *cannot* be prompted.
On Tue, Apr 30, 2013 at 9:06 AM, Chris Vest <[email protected]> wrote: > Is this not already the default behaviour? If not, then it used to be. IIRC, > the password caching may be per connection, so you might have to type it in > once for every host you make fabric connect to. > > Chris > > Sent from my iPad > > On 30 Apr 2013, at 14:59, SL <[email protected]> wrote: > >> Hi, >> >> I haven't been able to figure out of there's any obvious way of doing this, >> so I thought I'd ask here. I don't want to store me sudo password in the >> script, but also I don't want to have to type it multiple times for remote >> servers. Is there a way of configuring the script so that it will request >> it only once, and then use this cached version for all subsequent requests? >> >> Thanks >> _______________________________________________ >> Fab-user mailing list >> [email protected] >> https://lists.nongnu.org/mailman/listinfo/fab-user > > _______________________________________________ > Fab-user mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/fab-user -- Jeff Forcier Unix sysadmin; Python/Ruby engineer http://bitprophet.org _______________________________________________ Fab-user mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/fab-user
