Hey guys
I am very new to Linux and have just started my own "homelab" and looking to replace some of the cloud storage I have with a setup locally. As a result i am setting up and SFTP where root user has access for read and write to all folders. But subsequent users only have access to specific folders.
I have followed this guide https://www.ionos.co.uk/digitalguide/server/configuration/set-up-an-ubuntu-sftp-server/
However I am getting some odd behaviours.
If i login via Filezilla with the root user I can see everything however I cant upload any files to the sftp folders. (Home folder is fine but the sftp location is not)
Now when trying to log in with the secondary user it gives me an error of:
Error: Could not connect to server
When checking the server and looking at the status of ssh it shows that the session was opened for that user and password accepted so I have no idea why it gives that error.
Any help would be much appreciated
I am very new to Linux and have just started my own "homelab" and looking to replace some of the cloud storage I have with a setup locally. As a result i am setting up and SFTP where root user has access for read and write to all folders. But subsequent users only have access to specific folders.
I have followed this guide https://www.ionos.co.uk/digitalguide/server/configuration/set-up-an-ubuntu-sftp-server/
However I am getting some odd behaviours.
If i login via Filezilla with the root user I can see everything however I cant upload any files to the sftp folders. (Home folder is fine but the sftp location is not)
Now when trying to log in with the secondary user it gives me an error of:
Error: Could not connect to server
When checking the server and looking at the status of ssh it shows that the session was opened for that user and password accepted so I have no idea why it gives that error.
Any help would be much appreciated