Skip to content

Instantly share code, notes, and snippets.



Created Oct 25, 2017
What would you like to do?
alternative for screen + SSH_AUTH_SOCK
# this needs an alias:
# alias screen='echo "setenv SSH_AUTH_SOCK $SSH_AUTH_SOCK" > $HOME/.ssh/screen; screen -X source $HOME/.ssh/screen; screen'
bind H eval "source $HOME/.ssh/screen" "readbuf $SSH_AUTH_SOCK" 'stuff "export SSH_AUTH_SOCK=$SSH_AUTH_SOCK\n"' "echo 'SSH_AUTH_SOCK set!'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment