Skip to content

Instantly share code, notes, and snippets.

View iqueryable's full-sized avatar

Lars Enevold iqueryable

View GitHub Profile
# SSH agent forward as root user
docker run --rm -it \
-v $SSH_AUTH_SOCK:$SSH_AUTH_SOCK \
-e SSH_AUTH_SOCK=$SSH_AUTH_SOCK \
ubuntu:20.04 /bin/bash
# SSH agent forward as non-root user
docker run --rm -it \
-v $SSH_AUTH_SOCK:$SSH_AUTH_SOCK \
-e SSH_AUTH_SOCK=$SSH_AUTH_SOCK \