ssh: add hack to set ssh-agent socket

This commit is contained in:
Daniel Lundin 2020-02-12 12:44:03 +01:00
parent a2eeed09b9
commit c71f97d360

3
.ssh/rc Executable file
View file

@ -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