I can access to my specific folder like this:
ssh -YX xxx@xxxxxx.xxx.xxxx.xx
cd ../the/folder/I/want
or with an absolute path
ssh -YX xxx@xxxxxx.xxx.xxxx.xx
cd /the/absolute/path/to/the/folder/I/want
However I can't ls
it from my distant home directory
ssh -YX xxx@xxxxxx.xxx.xxxx.xx
ls ../the/folder/I/want
-> ls: cannot access ../the/folder/I/want: No such file or directory
I can mount and access to my home folder with sshfs. However, if I try to mount the specific folder with sshfs, for instance:
sshfs xxx@xxxxxx.xxx.xxxx.xx:/the/absolute/path/to/the/folder/I/want ~/mountpoint
I can see the mounted folder, but I have no permissions to access it.
This is the result of ls -l
local command:
d---rwx--- 1 root wheel 4,0K 4 nov 22:46 mountpoint
Is there a way to mount this specific folder?