I have a remote filesystem which I mount on my Mac (10.11) with the following command:
sudo sshfs :/ ~/mnt/remotefsSometimes this command works just fine, and it prompts me for a password and the filesystem is mounted. But other times, it just fails with a cryptic Bad address error. I'm not sure what's causing the failures - there's apparently no verbose option for sshfs, so I'm not sure how else I can figure out what's going on. ssh-ing in always works though, so it's not an availability issue.
2 Answers
You are not specifying the mounting address (where to mount on the host machine). Do it like this
sudo sshfs :/ ~/mnt/remotefs . to mount it on the current directory. Note the . at the end to represent the fact that we want to mount on the current directory.
in case it helps someone else, I just made sure the local folder existed. for some crazy reason, something like "/Users/usernamehere/MT-owner/backup" would not work.
changed to "~/mt-backup" (making sure folder was created beforehand with mkdir -p ~/mt-backup) and it worked.