I am trying to create a new user and give permission to access a restricted folder. I found many tutorials, suggesting to change the /etc/ssh/sshd_config file, but it’s not working as it should. Do you have any suggestions or maybe there is a way do to that using trellis structure?
In other words:
I want to create a new user: upload-user
This user, when using SFTP, should be able to have access to the following folder:
/srv/www/mysite.com/current/
Not sure if it’s possible but any help would be much appreciated.