summaryrefslogtreecommitdiff
path: root/home/xyz/.config/systemd
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2023-04-29 03:36:07 -0700
committerXiao Pan <gky44px1999@gmail.com>2023-04-29 03:36:07 -0700
commit7078897bb0c05baac4ed077d95ce93d273fe7f51 (patch)
tree272b632005323aca80f89d102781d3eff06c3342 /home/xyz/.config/systemd
parent0d3cfc0f7bcc3e851bdf99f850bbcbbce7662ced (diff)
increase ssh-agent time from 30 min to 1 hr
Diffstat (limited to 'home/xyz/.config/systemd')
-rw-r--r--home/xyz/.config/systemd/user/ssh-agent.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/home/xyz/.config/systemd/user/ssh-agent.service b/home/xyz/.config/systemd/user/ssh-agent.service
index 9773bc05..e867c4b1 100644
--- a/home/xyz/.config/systemd/user/ssh-agent.service
+++ b/home/xyz/.config/systemd/user/ssh-agent.service
@@ -11,7 +11,7 @@ Type=simple
Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket
# DISPLAY required for ssh-askpass to work
Environment=DISPLAY=:0
-ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK -t 1800
+ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK -t 3600
# github White-Oak approach
# https://github.com/White-Oak/arch-setup-for-dummies/blob/master/setting-up-ssh-agent.md