summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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).