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

Getting error: [email protected]: Permission denied (publickey). #15

Open
corneliusroemer opened this issue Oct 1, 2022 · 4 comments

Comments

@corneliusroemer
Copy link

I followed the instructions with a simple setup:

- name: Setup upterm session
        uses: lhotari/action-upterm@v1

but when trying to connect using:

ssh XhMfjw1FxKdix4uQGdWd:[email protected]

I get the following error:

XhMfjw1FxKdix4uQGdWd:[email protected]: Permission denied (publickey).

I didn't use any authorisation options so I expected it would work just like that - but it doesn't.

I found this Upterm issue that could be related: owenthereal/upterm#93

@corneliusroemer
Copy link
Author

Now trying out the action you forked from. For some reason I found yours first! But the other one has 10x more stars so maybe I'm lucky there. What exactly distinguishes yours from the one you forked from?

https://github.com/mxschmitt/action-tmate

@kornpow
Copy link

kornpow commented Oct 19, 2022

I also had the same problem. I definitely have my public-key setup properly for github, as I am able to push from this machine.

@jheidbrink
Copy link

I used this action with the limit-access-to-actor option and found that it didn't accept my RSA key configured in Github. Adding an ed25519 key to Github helped.

@guberti
Copy link

guberti commented Sep 13, 2023

For anyone who finds this in the future - I saw this error when I did not have any ssh keys at all set up. Running ssh-keygen -t ed25519 solved the problem.

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

4 participants