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 個月前檢視次數 388 次
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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南