Sharing between Mac OS X and Debian

For the last couple of years, my main development box at work has been a desktop machine running Ubuntu. A few weeks ago, though, I was upgraded to a nice MacBook Pro (ostensibly for working remotely).

You can't build in a Linux chroot on Mac OS X, and the desktop box still houses all of my code, and has my build environment already configured, so I still want to use that as the foundation of my work. So the question arises: how do I access the code on the desktop?

SSHFS is an option, but requires installation of third-party tools in Mac OS X, and is slow. NFS or SMB are options, but are unencrypted and old (and I just don't want to use them). AFP is the native protocol for Mac OS X, is fast, and is encrypted. So a new question arose: how hard would it be to connect to my Linux box over AFP?

The answer: simple.

Now I just open a Finder window, double-click on my Linux box, and get to work.