zprofile: set ssh-agent's secret lifetime to 4h
This commit is contained in:
parent
a34e3150e4
commit
8428f754d4
@ -28,7 +28,7 @@ export kee="surtur"
|
||||
export SSH_KEY_PATH="$HOME/.ssh/$kee"
|
||||
|
||||
if [ ! -S ~/.ssh/ssh_auth_sock ]; then
|
||||
eval `ssh-agent` > /dev/null
|
||||
eval `ssh-agent -t4h` > /dev/null
|
||||
ln -sf "$SSH_AUTH_SOCK" ~/.ssh/ssh_auth_sock
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user