Report this

What is the reason for this report?

How to setup Ghost installation (Permission Denied Public Key)

Posted on April 20, 2021

Hey, I am on this step (https://marketplace.digitalocean.com/apps/ghost) but after I type in the ssh root command, I get the following response back.

root@161.35.116.33: Permission denied (publickey).

Not sure why it does this because I setup the ssh key properly with a passphrase exactly how the tutorial said. What should I do to circumvent this and continue setting up ?



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.

Did ssh -vv root@hostip, got this debug code

debug1: Trying private key: /Users/cyberchris/.ssh/savehere no such identity: /Users/cyberchris/.ssh/savehere: No such file or directory debug2: we did not send a packet, disable method debug1: No more authentication methods to try. root@161.35.116.33: Permission denied (publickey).

Anyone know a fix to this?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.