ssh: add hack to set ssh-agent socket
This commit is contained in:
parent
a2eeed09b9
commit
c71f97d360
1 changed files with 3 additions and 0 deletions
3
.ssh/rc
Executable file
3
.ssh/rc
Executable 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
|
Loading…
Reference in a new issue