From c71f97d36010f0abe432057174c43321693ece83 Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Wed, 12 Feb 2020 12:44:03 +0100 Subject: [PATCH] ssh: add hack to set ssh-agent socket --- .ssh/rc | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 .ssh/rc diff --git a/.ssh/rc b/.ssh/rc new file mode 100755 index 0000000..7cdde35 --- /dev/null +++ b/.ssh/rc @@ -0,0 +1,3 @@ +if [[ -S "$SSH_AUTH_SOCK" && ! -h "$SSH_AUTH_SOCK" ]]; then + ln -sf "$SSH_AUTH_SOCK" $HOME/.ssh/ssh_auth_sock; +fi