
Subsystem sftp internal-sftp -f AUTH -l VERBOSE
On DigitalOcean I had the following line, which I replaced.
Subsystem sftp /usr/lib/openssh/sftp-server
Match User myuser ChrootDirectory /home/myuser ForceCommand internal-sftp AllowTcpForwarding no X11Forwarding no
Now we just need to restart the ssh service
sudo service ssh restart
SHARE RESOURCES.
cd /home/myuser mount -o bind /var/www/myfolder/var/import import
Please note that if you reboot the server, you will have to re-run this command.
sudo setfacl -Rm g:user_group:rwx
Related Articles

Unlocking the Potential of AI with No-Code and Low-Code Platforms framework
By Luigi Laezza

Integrating Facebook and Instagram APIs with Meta: A Guide to Enhance Your Brand's Social Media Strategy framework
By Luigi Laezza

Selbstbedienungskassen: Die Zukunft des Einkaufens mit maßgeschneiderter Software framework
By Luigi Laezza

Mastering Laravel: Your Comprehensive Guide to Web Development framework
By Luigi Laezza

Introduction to Laravel framework
By Luigi Laezza

Introduction to Laravel
By Luigi Laezza

ai agents crypto
By Luigi Laezza

Unlock the power of Teams Login with SoipoServices!
By Luigi Laezza