map server shares over sshfs

Installation on Debian

apt-get install sshfs
mkdir /media/xxx
ssh-keygen
ssh-copy-id -i ~/.ssh/id_rsa.pub username@xxx.com

vi /etc/rc.local (this file will execute after network is enabled)

sshfs -o allow_other xxx@xxx:/var/www/ /media/xxx
sshfs -o allow_other xxx@xxx:/var/www/ /media/xxx1