Guest User

Untitled

a guest
Jul 17th, 2018
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. Permission denied (SSH_FX_PERMISSION_DENIED: The user does not have sufficient permissions to perform the operation.).
  2.  
  3. sudo usermod -g www-data [MY USERNAME]
  4. sudo chown -R www-data:www-data /var/www
  5. sudo chmod -R 775 /var/www
  6.  
  7. scp myfiles.zip myusername@mywebserver.com:
  8.  
  9. ssh -l myusername mywebserver.com
  10. unzip myfiles.zip
  11. sudo cp myfiles/* /var/www
Add Comment
Please, Sign In to add comment