Step 5 — Generating Reports and permission issue on AWS Lightsail SSH while implementing GoAccess

0

Trying to implement GoAccess to my WordPress sites that are hosted on AWS Lightsail (Plesk Ubuntu instance). Here is the tutorial by DigitalOcean I am following: https://www.digitalocean.com/community/tutorials/how-to-install-and-use-goaccess-web-log-analyzer-on-ubuntu-20-04 I am stuck in Step 5 (screenshots: https://www.canva.com/design/DAFkpdNeuyc/fmbOiiTs7CcpAzxicBiUEA/edit?utm_content=DAFkpdNeuyc&utm_campaign=designshare&utm_medium=link2&utm_source=sharebutton).

1 Answer
1

It states the following.
The scp command must be run from your computer.
In the image, I think it is failing because it is running from Lightsail.

You can copy this file to the user directory on your local machine using scp. Run this command from your local machine, and not the remote server:

Also, if you want to run it, I think you need to change the user to ubuntu as shown below or you will get an error.

scp ubuntu@Lightsail_ip:stats.html ~/stats.html
profile picture
EXPERT
answered a year ago
  • So you mean instead of using SSH that comes with AWS Lightsail, I should install Filezilla. And from Filezilla take further steps.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions