Menu

ssh open terminal window

Mike
2014-01-30
2014-01-30
  • Mike

    Mike - 2014-01-30

    Hi,

    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?

    Cheers

    Mike

     
  • IgnorantGuru

    IgnorantGuru - 2014-01-30

    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.

     

    Last edit: IgnorantGuru 2014-01-30
  • Mike

    Mike - 2014-01-30

    Thanks for the fast reply.
    Could you point me to the file where ssh mounting is handled please.

     
  • IgnorantGuru

    IgnorantGuru - 2014-01-30

    If you run in a terminal:

    killall spacefm
    spacefm
    

    Then mount an ssh URL in SpaceFM, you'll see the commands in the terminal. Docs are here.

     

Anonymous
Anonymous

Add attachments
Cancel