Nemo and running sshfs from a bash script

Please post suggestions for improvement of Cinnamon here
https://github.com/linuxmint/Cinnamon
Post Reply
wyattbiker
Level 1
Level 1
Posts: 28
Joined: Thu Jan 03, 2019 5:02 pm

Nemo and running sshfs from a bash script

Post by wyattbiker » Tue Feb 12, 2019 12:46 pm

I have the following command inside a .sh script.

Code: Select all

# mount.sh
sshfs myuser@myserver.com:/home ~/MYSERVER
works fine running ./mount.sh in Terminal, prompts me for password and I can login and shows the MYSERVER mount point in Nemo.

However, if instead of running from Terminal, I double click on mount.sh in Nemo, it prompts me to Run In Terminal. I enter the password but then a weird OpenSSH dialog pops up, asking me for the password, which I enter and then just disappears without connecting.

Any idea why this could be happening?

Post Reply

Return to “Cinnamon”