scping into a virtual server and need to copy some files into the
/var/www/ directory so apache2 can serve 'em up. However, by default, the files that I upload go into the users dirctory. I need to get them two levels up. How would I do this over scp?
If you are not specifying
Assuming that the user has write permissions to
Replace the local path and the remote path with the actual paths though.
IF YOU DO NOT WANT TO HAVE THE UPLOAD IN YOUR HOME DIRECTORY, DO NOT USE
|show 1 more comment|