I was looking for a way to listen to my Christmas playlist running on my Mac Mini at home while at work. Through a little bit of searching I found this post ‘Tunneling iTunes through SSH‘.
I took it a bit further and added the following to my ~/.ssh/config
Host itunes-home Hostname User LocalForward 3690 localhost:3689
This allows me to start up my tunnel with a simple
$ ssh itunes-home
and then run the command in the ‘Tunneling iTunes through SSH
dns-sd -P iTunesServer _daap._tcp local 3690 localhost.local 127.0.0.1 &
and then I see iTunes server in my shared libraries list.
Now I can listen to my Christmas music at work without having to copy it to my laptop!