Glam Prestige Journal

Bright entertainment trends with youth appeal.

I have a remote filesystem which I mount on my Mac (10.11) with the following command:

sudo sshfs :/ ~/mnt/remotefs

Sometimes 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.

6

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.

1

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.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy