Score:0

sshfs umount after close terminal

pr flag

I have this command in my script

gnome-terminal -- /bin/bash -c "sshfs -o allow_other,port=$port $user@$hostName:/ $mount_point && sleep 1"

What will try to mount ssh server to some location (it will happen if no key provided in ssh config) and ask about password.

It's work good but after close this terminal it's unmounting automatically enter image description here

How can I prevent amounting and why it happens?

vanadium avatar
cn flag
I answered on a related problem here: https://askubuntu.com/a/1360887/558158
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.