$ cat bin/ssh_fs_keeper.sh
ps aux|grep [s]shfs >/dev/null 2>/dev/null
code=$?
if [[ $code -eq 1 ]]; then
sudo sshfs -o allow_other foo@domain.com:/home/path /home/path
fi
à mettre dans un cron
-
https://links.infomee.fr/?8cWfKQ