Sftp access permissions

Hey,

I had to do this to be able to sftp as root:

nano /etc/ssh/sshd_config
PermitRootLogin yes # find PermitRootLogin and change no to yes in front of it
service ssh restart

From this post: Autoriser ROOT en SFTP?

But apparently it’s not very secure.
For me it’s the only way to be able to write something from Filezilla.
I can connect with my user, but can’t write anything.

  • Any help about this ?

Other problem:

  • When I upload a file with filezilla, in a folder /home/user/…, I can’t see it on Nextcloud. It’s just no here. But I can’t see it with ls on Shell In A box
    Any help about it ?

Thanks a lot!