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
asked 8 months ago371 views
1 Answer
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
EXPERT
answered 8 months ago
profile pictureAWS
EXPERT
reviewed 8 months ago

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