Guest User

Untitled

a guest
Jul 20th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. #!/usr/bin/env bash
  2.  
  3. docker_host=$1
  4.  
  5. if [ -z "$docker_host" ] ; then
  6. echo "Syntax: `basename $0` <docker_host>" >&2
  7. exit 1
  8. fi
  9.  
  10. ssh localhost -R 127.0.0.1:35729:$docker_host:35729
Add Comment
Please, Sign In to add comment