I need to create the following file for www-data
user like the following:
sudo /var/www/.ssh/authorized_keys
But non of www
, .ssh
directories and authorized_keys file does not exists. How could I create them all and set owner www-data
for all of them by using one (or maybe two) commands?