By sayemmkhan
Hi I have a Wordpress blog hosted on Digital Ocean (using 1-click install, Ubuntu Wordpress 4.7 on 16.04). I have ufw and fail2ban installed on this server, and I’m wondering if they’re causing the issue.
I’m trying to ssh into the server using root user, or even FileZilla into it but can’t seem to get through. Keeps saying permission denied.
Please help, thanks!
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!
Hi @sayemmkhan
If you get a “permission denied”, then it’s because the password or SSH key is not valid.
If the firewall (or fail2ban) was blocking you, then you would get a “could not connect”.
Did you setup the droplet with SSH key or did you receive a password, when you created the droplet? You can reset the password via the control panel. If you used a SSH key, then you need to start the server with a Recovery Image, which only Support can activate for you.
@hansen I’m not even able to get to the password prompt when I try sshing into it, this is the output:
➜ Desktop ssh root@softwareentrepreneuradvice.com The authenticity of host ‘softwareentrepreneuradvice.com (104.236.50.182)’ can’t be established. ECDSA key fingerprint is SHA256:6X0pIZ9VhP410MmdyjAFcvld5WXky/Ju408zM0wnsn4. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added ‘softwareentrepreneuradvice.com,104.236.50.182’ (ECDSA) to the list of known hosts. Permission denied (publickey).
A developer on my team created this droplet few days ago, so not sure why I’m not able to ssh root into it.
If I’m not getting the password prompt, then it was probably created with SSH key like you say?
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.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.