ssh-keygen
You will be prompted to save and name the key.
Generating public/private rsa key pair. Enter file in which to save the key (/Users/USER/.ssh/id_rsa):
Next you will be asked to create and confirm a passphrase for the key (highly recommended):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
This will generate two files, by default called id_rsa and id_rsa.pub. Next, add this public key.
Copy and paste the contents of the .pub file, typically id_rsa.pub, into the SSH key content field on the left.
cat ~/.ssh/id_rsa.pub
and then paste it and give some name to it.
Follow below link and follow steps to install the lamp stack and setup wordpress.
https://github.com/harsh6768/setup-wordpresss-ec2
Directly go the bottom of the readme file.
https://github.com/harsh6768/deploy-in-ec2
sudo mkdir blog
2. Copy and paste all the files of wordpress from root /var/www/html directory to /var/www/html/blog
sudo cp -R ./wp* ./blog/
https://filezilla-project.org/
Enter details of the droplet server to connect
If you are getting above error then you need to configuration of sshd_config file so that you can connect with server using password
vi /etc/ssh/sshd_config
and then restart the sshd
service sshd restart