syncloud / platform

Run popular services on your device with one click
https://syncloud.org
GNU General Public License v3.0
400 stars 40 forks source link

mount syncloud root directory #470

Closed klmhsb42 closed 1 year ago

klmhsb42 commented 4 years ago

I would like to mount the Syncloud root directory on file manager nautlius under debian. Should that already work? I don't get an error message (nothings happens).

sftp://root@example.syncloud.it

cyberb commented 4 years ago

Yes it is possible. You are probably going theought the router and it blocks port 22 (SSH). Can you SSH to your device using the same domain name?

klmhsb42 commented 4 years ago

ssh works

klmhsb42 commented 4 years ago

I will test it with open port 22

klmhsb42 commented 4 years ago

It was not the port. I got it working with: terminal: sshfs root@example.syncloud.it: /any/directory/on/client -o allow_other to unmount: umount /any/directory/on/client

klmhsb42 commented 4 years ago

Then open /any/directory/on/client in file explorer

klmhsb42 commented 4 years ago

Do you want to add this to "SSH" wiki entry and close it?

klmhsb42 commented 4 years ago

new problem: folders inside snap folder are empty. there is only .rnd file

klmhsb42 commented 4 years ago

same with ssh

how can I see files like in https://files.example.syncloud.it/

klmhsb42 commented 4 years ago

ok, with ssh cd ..

how can I mount this?

klmhsb42 commented 4 years ago

ok it's:

sshfs root@example.syncloud.it:'/' /any/directory/on/client -o allow_other

klmhsb42 commented 4 years ago

You can add to wiki under "SSH":

To mount Syncloud root folder on linux client via sshfs: Create folder on your client: mkdir /any/directory/on/client Mount ./root/ folder with: sshfs root@example.syncloud.it: /any/directory/on/client -o allow_other Mount Syncloud root with: sshfs root@example.syncloud.it:'/' /any/directory/on/client -o allow_other Unmount with: umount /any/directory/on/client

cyberb commented 4 years ago

I did not know this myself :) I usually use GUI tool like krusader (two panel file manager) and type on one side something like sftp://user@device.syncloud.it and copy files. I think your approach is very low level for a regular Syncloud user and they do not even know what mount is (at least I hope so)

klmhsb42 commented 4 years ago

Or to https://github.com/syncloud/platform/wiki/Remote-file-access

cyberb commented 1 year ago

Done: https://github.com/syncloud/platform/wiki/Remote-file-access#mount-a-dir-on-linux