Skip to content

Instantly share code, notes, and snippets.

@bcomnes
bcomnes / .screenrc
Last active Jun 19, 2021
ssh agent forwarding in tmux and gnu screen
View .screenrc
# Fix agent forwarding
# https://gist.github.com/martijnvermaat/8070533
# http://techblog.appnexus.com/2011/managing-ssh-sockets-in-gnu-screen/
# See .ssh/rc for socket linking
unsetenv SSH_AUTH_SOCK
setenv SSH_AUTH_SOCK $HOME/.ssh/ssh_auth_sock.$HOSTNAME