sshfs

Retour

install

apt-get install sshfs

put this in crontab

@reboot /root/mountsshfs.sh

create script

emacs /root/mountsshfs.sh
sleep 10
mkdir /mnt/droplet
sshfs -o allow_other,default_permissions,IdentityFile=~/.ssh/id_rsa root@localhost:/ /mnt/droplet

remove mount

umount /mnt/droplet