How to setup Ghost installation (Permission Denied Public Key)

Posted April 20, 2021 136 views
GhostInitial Server Setup

Hey, I am on this step ( but after I type in the ssh root command, I get the following response back.

root@ 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 ?

1 comment

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

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@ Permission denied (publickey).

Anyone know a fix to this?