


Recursive Find and Replace using Git Bash on Windows 10.Search PricklyTech Search for: Top Posts & Pages Filezilla: Secure FTP using SSH File Transfer Protocol. With this done I configured FileZilla to establish a secure FTP connection to my webserver.

Give the group write permissions to the directory: sudo chmod -R 775 /var/www/html/newdirectoryĪdd the new user to the www-data group: sudo usermod -a -G www-data ftpuser Change the directory ownership and group: sudo chown www-data:www-data /var/www/html/newdirectory Warning: These steps do not restrict access to folders outside of the /var/First create a new directory under / var/www/html: cd /var/www/htmlĬreate a new user and give the user a password: sudo adduser ftpuserįinally give the new user the permissions that they need. With the webserver up and running I needed to be able to FTP into the var/FTP over SSH turned out to be a much simpler and quicker setup. I used tasksel to quickly install the LAMP server role as follows: sudo apt update I recently setup an Ubuntu 18.04 webserver to test webpages locally.
