Skip to content

Instantly share code, notes, and snippets.

@samir-plusb
Forked from d11wtq/docker-ssh-forward.bash
Created October 11, 2018 00:43
Show Gist options
  • Select an option

  • Save samir-plusb/56c19090069f35fc83f2051d29840f90 to your computer and use it in GitHub Desktop.

Select an option

Save samir-plusb/56c19090069f35fc83f2051d29840f90 to your computer and use it in GitHub Desktop.

Revisions

  1. @d11wtq d11wtq created this gist Jan 29, 2014.
    1 change: 1 addition & 0 deletions docker-ssh-forward.bash
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    docker run -rm -t -i -v $(dirname $SSH_AUTH_SOCK) -e SSH_AUTH_SOCK=$SSH_AUTH_SOCK ubuntu /bin/bash