Can't connect sftp/ftp to access wordpress

0

Hi, I'm using Ec2 to ran my wordpress website. I can't login and access my wordpress, maybe plug in issue. I tried to connect sftp/ftp to access wp_content, but putty and Filezilla shows error that server refused key, I think I lost the initial key pair .pem file, even I created new key and update to ssh , I still can't connect sftp or ftp to access the wp_content.

I had asked the wordpress, they told me that I should ask hosting to connect the ftp .

How can fix this issue and access to wp_content ? Thanks

Gbasia
已提问 8 个月前384 查看次数
1 回答
0

Hello.

It is possible to change the SSH key of the EC2 key pair by following the steps in the document below.
https://repost.aws/knowledge-center/user-data-replace-key-pair-ec2

If SSM Agent is installed on EC2, you can also set up an IAM role on EC2 and connect to the bash shell using Systems Manager Session Manager.
You can rewrite the SSH public key after connecting to the bash shell with Session Manager.
https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-prerequisites.html

profile picture
专家
已回答 8 个月前
profile pictureAWS
专家
已审核 8 个月前

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

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

回答问题的准则