#echo 'user ALL = NOPASSWD: /bin/umount' >> /etc/sudoers
$sudo umount /mounted/directory/
#echo 'user ALL = NOPASSWD: /bin/ping' >> /etc/sudoers
sshfs -o reconnect,allow_other,uid=1000 -p 22 hallgreng@hallgren-fs.hallgren.net:/ /home/user/MyDocs/hallgren-fs
hallgreng@hallgren-fs.hallgren.net:/ on /home/user/MyDocs/hallgren-fs type fuse.sshfs (rw,nosuid,nodev,max_read=65536,allow_other,user=user
| The Following User Says Thank You to hallgreng For This Useful Post: | ||
sshfs -o reconnect,allow_other,uid=1000 -p 22 hallgreng@hallgren-fs.hallgren.net:/ /home/user/MyDocs/hallgren-fs
hallgreng@hallgren-fs.hallgren.net:/ on /home/user/MyDocs/hallgren-fs type fuse.sshfs (rw,nosuid,nodev,max_read=65536,allow_other,user=user

Exec=/bin/busybox sh -c /usr/bin/ssh_script.sh
Exec=/bin/busybox sh -c 'echo /usr/bin/ssh_script.sh | sudo gainroot'
| The Following User Says Thank You to horli For This Useful Post: | ||
apt-get install sshfs