-
-
Save iathmika/d9388f7a4ab73bb92beebfbc232753b0 to your computer and use it in GitHub Desktop.
How to SSH agent forward into a docker container
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
docker run -rm -t -i -v $(dirname $SSH_AUTH_SOCK) -e SSH_AUTH_SOCK=$SSH_AUTH_SOCK ubuntu /bin/bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment