Wowza Community

Need to upload file via FTP or Putty. Not working

I have pem file and ppk file so I can log in using ec2-user. No other users can log in via this key.

Now the issue is I am not able to upload streamlock file via putty or Filezilla using ec2-user because of permission issue. So someone please guide me how do I connect FTP or sftp to upload a file on a server.

I try scp command to upload file (scp -r desktop/5d35b4b0a36c9.streamlock.net.jks root@ec2-3-211-74-190.compute-1.amazonaws.com:/usr/local/WowzaStreamingEngine-4.7.7/conf/ )

but same permission error.

FTP is generally not enabled on Amazon. You will need to use SFTP on port 22 with the same PEM and PPK files you already use to access your EC2 instance.

Amazon has an article on EC2 key pairs.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html

Amazon also has documentation on h ow to create the PEM and PPK files at the link below.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/putty.html

We also have a forum post on how to upload a file via the command line.
https://www.wowza.com/community/questions/1901/ssh-access-to-wowza-ec2-instance.html