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

Clarify that only PEM key could be used (another variants will cause ssh connection error) #22

Open
iliajs opened this issue Apr 13, 2024 · 2 comments

Comments

@iliajs
Copy link

iliajs commented Apr 13, 2024

Bug Description
It's not clear which type of ssh key could be used

You need to write that PEM should be used
ssh-keygen -m PEM -t rsa -b 4096

@stirtingale
Copy link

This has tripped me up also.

One further thing to add. It would be good to have a idiot-proof key creation instructions in the docs

One other obvious thing is you need to add the public key (github-actions.pub) to authorized_keys so machines using the private key (github-actions) can access the server etc

i.e.

cat id_rsa.pub >> ~/.ssh/authorized_keys

@c-schmitz
Copy link

c-schmitz commented Jun 13, 2024

The PEM key thing is really a bummer. Bigger problem though now that newer key types do not seem to be accepted, like ed25519 . RSA keys are phased out and not accepted anymore as of Ubuntu 22, for example.
At least I tried a couple times and could not make it work.

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

3 participants