Is it possible to auto-mount sshfs
Posted
by
Mark D
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Mark D
Published on 2012-09-12T14:12:15Z
Indexed on
2012/09/12
21:50 UTC
Read the original article
Hit count: 246
Is it possible to auto-mount a remote FS using sshfs upon instantiating a proper VPN connection?
Allow me to explain the scenario, I'm working remotely, to do that it helps if I can mount my home dir from a server in the office. To do that I need to vpn in. So within network manager I select the relevant VPN and connect. It connects but now I have to drop to the command line and mount my home dir on several machines.
If I forget to do one machine my local dev environment isn't as efficient. I suppose I could write a quick bash script to do this but I'd rather get it running automatically when I connect.
© Ask Ubuntu or respective owner