Passer au contenu

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

demandé il y a 2 ans617 vues
1 réponse
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

EXPERT
répondu il y a 2 ans
EXPERT
vérifié il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.