summaryrefslogtreecommitdiff
path: root/home/xyz/.config/systemd
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2022-08-17 20:13:06 -0700
committerxyz <gky44px1999@gmail.com>2022-08-17 20:13:06 -0700
commit471e510c2fe6d2cfe24ee0410d9b96b040b2e925 (patch)
tree1b2e923526b127326fe1a5575245d74c522c0e4a /home/xyz/.config/systemd
parentf632eaad671460da915f2ae00793e27cdd993e45 (diff)
better ssh-agent
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 66fa63ef..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
+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