Link to home
Start Free TrialLog in
Avatar of tonitoni99
tonitoni99

asked on

copy files to ubuntu webserver

Hi, I setup an Ubuntu instance on AWS EC2 and install LAMP webserver. I tried to copy a file test.php to /var/www/html folder, but it said Permission denied

I used the following command in Terminal on my Mac:

scp -i mypem.pem test.php ubuntu@ec2-54-206-105-243.ap-southeast 2.compute.amazonaws.com:/var/www/html

My questions are:
1. Do I need to change the /var/www/html folder permission before I copy files to it?
2. Besides the SSH, can I use a GUI tool to do the files transferring?  


Please advise. thanks
ASKER CERTIFIED SOLUTION
Avatar of gheist
gheist
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Gerwin Jansen
A WinSCP alternative for MacOS would be Cyberduck http://sourceforge.net/projects/cyberduck/
Filezilla too...