Add new Private SSH Key to deploy to dokku error

Hi,

I am migrating the deployment from Heroku to my own server with Dokku in Digital Ocean.
For that I was trying to add a new Private Key.

In the project SSH permissions:
I introduce the domain (daniboomerang.com)
And a new private SSH key generated by the command 'ssh-keygen -t rsa’
I don´t add any paraphrase and I get this error:

Error: it looks like private key is invalid key. Double check If we can help, contact us.

I´ve tried several times…

Any ideas?

Thanks

Regards

Would love to help! Would it be possible to share a build url or your circle.yml so we can take a look?

Ok, Shame on me…
I wasn´t pasting the
-----BEGIN RSA PRIVATE KEY-----
-----END RSA PRIVATE KEY-----

Really didn´t know that was part of the key itself :blush:

It´s all good

1 Like

Happy you were able to solve it! :smile:

Thanks
:grin: