Created
October 25, 2017 12:05
-
-
Save mkorthof/df4fad902d293011fb591b39b1d4082f to your computer and use it in GitHub Desktop.
alternative for screen + SSH_AUTH_SOCK
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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