Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm trying to mount a folder over ssh using sshfs. Evertime I do so I get the error

No such file or directory

My terminal:

user@computer:~$ sshfs [email protected]:/volume1/somedir ~/mnt/somedir
[email protected]'s password: 
[email protected]:/volume1/somedir: No such file or directory

This is Ubuntu 12.04 connecting to a Synology NAS with DS4.1

What am I doing wrong here?

share|improve this question

2 Answers 2

up vote 1 down vote accepted

So aparently when connecting to sftp on a Synology, / is the list of shares. So I just have to do:

sshfs [email protected]:/somedir ~/mnt/somedir
share|improve this answer
    
What happens if you do: ssh [email protected] ls /volume1/somedir –  James Lawrie Oct 12 '12 at 19:23
    
It returns the directory listing, as expected –  csauve Oct 12 '12 at 21:44

try

sshfs [email protected]:/remotedir ~/mnt/localdir

where remotedir is dir you normally specify after volume1

or

sshfs [email protected]:/ ~/mnt/localdir
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.