Many people seem to have enjoyed my post on Streaming iTunes over SSH, and today I needed to access my home iPhoto library from work. It turns out that we can use the same tricks we used for iTunes for iPhoto.

Rather than go through all the details again, I will just point out that we have to change the Bonjour protocol name and port number to _dpap._tcp and 8770:

#!/bin/sh
dns-sd -P "Home iPhoto" _dpap._tcp local 8770 localhost.local. 
  127.0.0.1 "Arbitrary text record" & 
trap "kill $!" 0 1 2 15
ssh -C -N -L 8770:localhost:8770 myusername@blahblahblah.dyndns.org

Read the original iTunes post for more information about why this works or how to implement it.

Enjoy!