Created
March 17, 2017 05:46
-
-
Save suplo/4376d8ce63facb003ed317a2b5ddfca7 to your computer and use it in GitHub Desktop.
CentOS ssh-agent ForwardAgent
This file contains hidden or 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
exec ssh-agent $BASH -s 10<&0 << EOF | |
ssh-add ~/.ssh/id_rsa &> /dev/null | |
exec $BASH <&10- | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment