ssh ftp permanent for wordpress

Posted May 30, 2014 3.3k views
I have a droplet with ubuntu and have installed my wordpress, the problem arises when I try to upload something, I installed a plugin that recommended me for this kind of, well when I install plugins connections "SSH SFTP Updater Support" calls me the password, however when trying to import my old site through xml I boot a mistake, I guess it must be because you can not connect (no longer asking me password), my question is this: How do I get the key ssh sftp permanent in my wordpress and I might not ask all the time? I hope you can help me, I'm new to these issues thanks

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer
If you set up SSH keys (without a passphrase), then you won't need to enter a password to use SSH.

This article shows how to set up SSH keys if you're using a Linux or Mac computer as your client

If you're using Windows, you'll need this article

SSH Keys work like this:
Your machine (client) generates RSA keys. You then give the public key to any machine you want to connect to (eg. your server).
When you SSH, your computer uses it's RSA key to send an authentication to the server. The server verifies that YOU are connecting, by verifying with the stored key it has. Now the server is happy it's you, it doesn't need a password to log in.

Note that SCP uses SSH to send the file, so this will also allow you to use SCP without needing to enter a password every time.