Nemo and running sshfs from a bash script

Please post suggestions for improvement of Cinnamon on:
https://github.com/linuxmint/Cinnamon
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
wyattbiker

Nemo and running sshfs from a bash script

Post by wyattbiker »

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?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Locked

Return to “Cinnamon”