when I connect to a server via ssh (using sshfs) by typing the address spaceFM opens a terminal window which cannot be closed otherwise it unmount the location. Is there a way to solve this?
You seem to have CSS turned off.
Please don't fill out this field.
Last I worked on it, I was unable to prevent sshfs from unmounting when the terminal was closed. I tried what I could think of, nohup, etc. It's either a bug or a feature of sshfs it seems, but I didn't spend a lot of time researching it (I spend limited time supporting network filesystems as they are high-maintenance and users are encouraged to use ad hoc solutions).
You can experiment by creating your own custom command (in a SpaceFM menu) which runs in a terminal and mounts ssh. I always got the same behavior. You can see the commands SpaceFM issues by running spacefm from a terminal. Any info welcome.
Thanks for the fast reply.
Could you point me to the file where ssh mounting is handled please.
If you run in a terminal:
Then mount an ssh URL in SpaceFM, you'll see the commands in the terminal. Docs are here.
Sign up for the SourceForge newsletter: