summaryrefslogtreecommitdiffstats
path: root/software
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2011-11-02 22:54:15 -0400
committerbnewbold <bnewbold@robocracy.org>2011-11-02 22:55:04 -0400
commit09d82c938bba7e70c7f33816ef1950c70ccd668a (patch)
tree8515642669c749b66ba526edb20c8a39b9b6f215 /software
parent76af7c3372f8db3501bb59584f9be58d67921f54 (diff)
downloadknowledge-09d82c938bba7e70c7f33816ef1950c70ccd668a.tar.gz
knowledge-09d82c938bba7e70c7f33816ef1950c70ccd668a.zip
ssh-agent timeout/expire
Diffstat (limited to 'software')
-rw-r--r--software/unix-tricks.page8
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).