From 09d82c938bba7e70c7f33816ef1950c70ccd668a Mon Sep 17 00:00:00 2001 From: bnewbold Date: Wed, 2 Nov 2011 22:54:15 -0400 Subject: ssh-agent timeout/expire --- software/unix-tricks.page | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/software/unix-tricks.page b/software/unix-tricks.page index fea6aef..3add87b 100644 --- a/software/unix-tricks.page +++ b/software/unix-tricks.page @@ -46,3 +46,11 @@ the -A and -B options (lines of context before and after the unique string) as appropriate, and go through the output file to clean up the text. $ sudo grep "bookmark_bar" --binary-files=text -B 10 -A 1000 /dev/sda5 | tee undeleted_content.txt + + +SSH Key Agent Timeout +----------------------------- +``ssh-agent`` has an argument (``-t``) to timeout private keys. You'll need to +enable this flag in your X initialization file somewhere... on Ubuntu it seems +to be in ``/etc/X11/Xsession.d/90x11-common_ssh-agent`` (set ``SSHAGENTARGS='-t +6h'`` for six hour timeout). -- cgit v1.2.3