Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Multiple scp targets?
- Date: Thu, 11 Nov 2010 11:27:30 +0900
- From: Pier Fumagalli <ianosh@example.com>
- Subject: Re: [tlug] Multiple scp targets?
- References: <4CDA6654.60102@example.com> <871v6tfp5s.fsf@example.com> <AANLkTimFyNcmQFDLNw1TOnkX60GBhHo4J-G-iAmh8SV1@example.com> <87y690ehce.fsf@example.com>
On Nov 11, 2010, at 11:15, "Stephen J. Turnbull" <stephen@example.com> wrote: > Pier Fumagalli writes: > >> Add "ssh-add -d ...keyfile..." at the end of the script (or in a trap) >> to make sure the key gets deleted. > > If "ssh-add -t" doesn't do that already, we should switch to one that > does. Afaik, -t sets a timeout and deletes the key when said timeout expires. Adding also a -d at the end of the script (or in a trap) ensures that the key gets deleted when the script finishes even if the timeout hasn't elapsed yet. Call it defensive scripting... Pier
- Follow-Ups:
- Re: [tlug] Multiple scp targets?
- From: Stephen J. Turnbull
- References:
- [tlug] Multiple scp targets?
- From: Darren Cook
- [tlug] Multiple scp targets?
- From: Stephen J. Turnbull
- Re: [tlug] Multiple scp targets?
- From: Pier Fumagalli
- Re: [tlug] Multiple scp targets?
- From: Stephen J. Turnbull
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Multiple scp targets?
- Next by Date: Re: [tlug] Multiple scp targets?
- Previous by thread: Re: [tlug] Multiple scp targets?
- Next by thread: Re: [tlug] Multiple scp targets?
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links