0
votes

I managed to connect to Amazon EC2 files directory using FileZilla SFTP, but I have to Putty SSH the following command in every connection to be able to transfer files.

chown -R ec2-user /var/www/html

What command should I give so that I don't have to repeat the process in every FileZilla connection?

1

1 Answers

0
votes

Log in via FileZilla using the same username. If you upload a file via ftp, the file owner is the user you're using to log in.