I have two computers connected in network and I would like them to share my home directory. I thought of mounting on one of them home directory from another computer.
I may happen that one of those computers is off, so it should remount home directory when it is possible (or on access).
I prefer encrypted solution (sshfs?)
I will need this directory to run some parallel programs that should access files in home directory, so it should be reliable - is sshfs good for this? Or should I look for something else?
I'm using Ubuntu, but other Linux solutions are welcome.
you can use NFS, SMBFS, SSHFS or whatever you want with Autofs.
It's do what you're searching. It mounts on demand a share and could umount on idle (if you configure it).
In all the case, if one of the servers reboot, the client side try to auto-mount the share as a request is made.