diff options
-rw-r--r-- | home/xyz/.config/systemd/user/ssh-agent.service | 2 | ||||
-rw-r--r-- | home/xyz/.ssh/config | 2 |
2 files changed, 3 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 diff --git a/home/xyz/.ssh/config b/home/xyz/.ssh/config index c0865ce3..cd1dd2c3 100644 --- a/home/xyz/.ssh/config +++ b/home/xyz/.ssh/config @@ -15,3 +15,5 @@ Host pi raspberrypi.local Host phone danctnix.local HostName danctnix.local User alarm + +AddKeysToAgent yes |