Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Private key invalid format #14

Closed
A opened this issue Dec 22, 2021 · 1 comment
Closed

Private key invalid format #14

A opened this issue Dec 22, 2021 · 1 comment

Comments

@A
Copy link

A commented Dec 22, 2021

Hi! Thanks for this action, i've used it some time ago and it worked like a charm. But for my current project i'm trying to run a simple playbook to deploy a service to digital ocean droplet running ubuntu and I faced with a problem.

I've generated rsa key for this pipeline, and the key works well locally:
image

Ofc, I've added the private key to github secrets. But when I'm trying to run the action, i'm getting an error:

...
Trying private key: /tmp/privateKey3054984273\r\nLoad key \"/tmp/privateKey3054984273\": invalid format\r\ndebug2: we did not send a packet, disable method\r\ndebug1: No more authentication methods to try.\r\[email protected]: Permission denied (publickey).
...

I'm not sure it's a bug in the playbook action, I guess mb I just misconfigured the server, but I can't figure out what's exactly wrong. Would be happy if you can point to the mistake.

For details: action log

@A
Copy link
Author

A commented Dec 23, 2021

idk how i missed #4. Closed as a duplicate

@A A closed this as completed Dec 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant