Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
20
rated 0 times [  20] [ 0]  / answers: 1 / hits: 17387  / 2 Years ago, tue, june 28, 2022, 1:45:47

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


It returns the directory listing, as expected if I try:



ssh [email protected] ls /volume1/somedir


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



What am I doing wrong here?


More From » sshfs

 Answers
6

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

[#35007] Tuesday, June 28, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
izecaptur

Total Points: 113
Total Questions: 102
Total Answers: 114

Location: Northern Mariana Islands
Member since Fri, Jan 15, 2021
3 Years ago
;