Improve remote SSH agent

This commit is contained in:
David Tomaschik
2020-11-06 09:35:45 -08:00
parent ce1d4780b6
commit 04d4ab4d25
2 changed files with 13 additions and 2 deletions

View File

@@ -1,6 +1,9 @@
# Update environment on reconnect
set -g update-environment "DISPLAY WINDOWID SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION"
# Use symlink socket
set-environment -g 'SSH_AUTH_SOCK' ~/.ssh/ssh_auth_sock
# Custom binds
bind K confirm kill-server
bind X confirm kill-window