I’m trying to load files to my newly added DO Lamp setup on Ubutu droplet using Filezilla.
I am using SFTP, and Filezilla wanted to convert my SSH key to a Filezilla-compatible type: ppk. So I did that. I set port as 22:
http://i.imgur.com/ahE3cKB.png
But am getting error:
Disconnected: No supported authentication methods available (server sent: publickey)
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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.
Hi, super newb here. Where exactly are these commands entered? In the console?
Have you configured SSH to allow public key authentication, created the proper user directories, and set the proper permissions on them (for that specific user)?
For example, using danturcotte as the user, we’d create:
/home/danturcotte
/home/danturcotte/.ssh
and
/home/danturcotte/.ssh/authorized_keys
This could be done using:
mkdir -p /home/danturcotte/.ssh \
&& touch /home/danturcotte/.ssh/authorized_keys
You would then paste your public key in authorized_keys and save.
Once done, you’d need to make sure the proper permissions are set on the directories and the file. We can do that using:
chown -R danturcotte:danturcotte /home/danturcotte/*
chmod 700 /home/danturcotte/.ssh \
&& chmod 644 /home/danturcotte/.ssh/authorized_keys
If you’ve not already, you can modify your user and see the users home directory using usermod.
usermod -d /home/danturcotte danturcotte
Now you want to make sure Public Key Authentication is enabled, so you’ll need to open up:
/etc/ssh/sshd_config
Search for PubkeyAuthentication and make sure it’s set to yes
For security, I’d recommend only using PKA, so I would turn PasswordAuthentication off by setting it to no. Quick note though, if you don’t have an SSH Key setup for root, you will lock yourself out with this setting, so you’d need to make sure a key is setup for root as well, or create a sudo user so you can run root-level commands by escalating.
Once those changes have been made, you’ll need to restart SSH.
service ssh restart
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.
