action-upterm
action-upterm copied to clipboard
Getting error: `[email protected]: Permission denied (publickey).`
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: https://github.com/owenthereal/upterm/issues/93
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
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.
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.
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.