Fix tmux ssh sockets

This commit is contained in:
2020-03-10 14:57:52 +01:00
parent 6f6dd21aaf
commit b37976611b
2 changed files with 8 additions and 0 deletions

5
.ssh/rc Executable file
View File

@@ -0,0 +1,5 @@
# Create symlink to current ssh socket, if a symlink to an active socket
# does not exist
if [ ! -S ~/.ssh/ssh_auth_sock ] && [ -S "$SSH_AUTH_SOCK" ]; then
ln -sf $SSH_AUTH_SOCK ~/.ssh/ssh_auth_sock
fi