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 年前180 查看次数
1 回答
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
专家
已回答 1 年前
  • So you mean instead of using SSH that comes with AWS Lightsail, I should install Filezilla. And from Filezilla take further steps.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则