diff options
author | bnewbold <bnewbold@robocracy.org> | 2011-11-02 22:54:15 -0400 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2011-11-02 22:55:04 -0400 |
commit | 09d82c938bba7e70c7f33816ef1950c70ccd668a (patch) | |
tree | 8515642669c749b66ba526edb20c8a39b9b6f215 /software | |
parent | 76af7c3372f8db3501bb59584f9be58d67921f54 (diff) | |
download | knowledge-09d82c938bba7e70c7f33816ef1950c70ccd668a.tar.gz knowledge-09d82c938bba7e70c7f33816ef1950c70ccd668a.zip |
ssh-agent timeout/expire
Diffstat (limited to 'software')
-rw-r--r-- | software/unix-tricks.page | 8 |
1 files changed, 8 insertions, 0 deletions
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). |