Add new Private SSH Key to deploy to dokku error


#1

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


#2

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


#3

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


#4

Happy you were able to solve it! :smile:


#5

Thanks
:grin:


#6