Another attempt at thoroughly fixing tmux ssh agent.
This commit is contained in:
@@ -29,7 +29,9 @@
|
||||
|
||||
file.".ssh/rc".text = ''
|
||||
#!/bin/sh
|
||||
ln -sf "$SSH_AUTH_SOCK" "$HOME/.ssh/ssh_auth_sock"
|
||||
if test "$SSH_AUTH_SOCK"; then
|
||||
ln -sf "$SSH_AUTH_SOCK" "$HOME/.ssh/ssh_auth_sock"
|
||||
fi
|
||||
'';
|
||||
file.".ssh/rc".executable = true;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user