Created
May 13, 2014 20:42
-
-
Save luksa/aff591f72d679b0a059b to your computer and use it in GitHub Desktop.
This file contains 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
#/bin/sh | |
echo ssh-ing to docker container $1 \(port `docker port $1 22 | sed 's/.*://'`\) | |
ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o PreferredAuthentications=password fabric8@localhost -p `docker port $1 22 | sed 's/.*://'` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment