Created
February 13, 2009 13:41
-
-
Save blech/63898 to your computer and use it in GitHub Desktop.
SSH tunnel w/Rendezvous
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
# posted partly as an aide-memoire, but more usefully, as a prompt | |
# for me to make this into a proper stop-start daemon | |
# hopefully, one that won't have hardcoded machine names... | |
IPADDR=`ifconfig en0 | grep 'inet ' | awk '{print $2}' | sed 's/addr://'` | |
ssh house.husk.org -N -f -L *:3698:foil:3689 | |
dns-sd -P "foil" _daap._tcp. local 3698 foil.local. $IPADDR txtvers=1 "Database ID=BC2C8AD5" "Machine ID=BC2C8AD5" & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment