I\'m using pscp to transfer files to a virtual ubuntu server using this command:
pscp test.php user@server:/var/www/test.php
and I get the erro
If you own the server:
Add yourself to the www-data group:
sudo usermod -a -G www-data
And set the right permissions:
sudo chown -R www-data:www-data /var/www/ sudo chmod -R 0775 /var/www/
This should do the trick.