› Forums › Technical support › sshfs command error: ‘invalid argument’ for local_dir
- This topic has 4 replies, 2 voices, and was last updated 1 month ago by
Andrea L.
-
AuthorPosts
-
-
January 30, 2026 at 19:18 #19122
I have installed sshfs on my MacOS using the instructions from the lab. However, when I run
sshfs eddie:/exports/chss/[my directory] ~/Desktop/Eddie , I get the error ‘sshfs: invalid argument ‘/Users/Desktop/Eddie’Furthermore, when I run sshfs –version, I get the following response:
“SSHFS version 3.7.5
FUSE library version 3.17.4
using FUSE kernel interface version 7.40
macFUSE mount version 5.1.3This program is not meant to be called directly. The macFUSE library calls it.”
What does it mean by “This program is not meant to be called directly.”? What can I do to troubleshoot this?
-
January 30, 2026 at 19:40 #19123
For some reason
~/Desktop/Eddieis expanding to/Users/Desktop/Eddiewhich will not exist. Your username is missing from the path.Try using
/Users/username/Desktop/Eddiewhereusernameis your username on your Mac.Alternatively,
cdwith no arguments, to go to your home directory, then use./Desktop/Eddie(I think you can ignore “This program is not meant to be called directly” – looks like an error message from an underlying library that you will only get when asking for the version.)
-
January 30, 2026 at 19:46 #19124
./Desktop/Eddieworks! Thank you!In terms of the
/Users/Desktop/Eddie, thats a typo on my part. The actual error output was/Users/[myusername]/Desktop/Eddie. Not sure why that didn’t work. -
January 30, 2026 at 20:48 #19125
What is the output of
cdwith no arguments thenpwd? -
January 30, 2026 at 21:30 #19126
The output of cd & pwd is just /Users/[myusername]. Also, I checked my bash history and realised the initial error was because of a typo in the host directory name (eddie:/exports/chss/[my directory]) . However, it seems sshfs defaults to reporting an error with the mountpoint instead, even though the problem is with the host directory name, so I got confused. I tested using ~/Desktop/Eddie as the mount point again after I fixed the error and it works fine too.
Apologies for the confusion and thank you for your help!!
-
-
AuthorPosts
- You must be logged in to reply to this topic.
This is the new version. Still under construction.