Closed smofe closed 3 years ago
Key(s) added: 2048 SHA256:lF6[...]JsM (stdin) (RSA) 2048 SHA256:Wqc[...]FMbA8 (stdin) (RSA)
I think that we should see the key comments in the place where (stdin)
is shown. Are you sure that the key comment is set correctly also in the private key?
With which command did you create the keys?
Closing for now; feel free to reopen/comment when you verified the key comment is correct.
Experiencing the same issue here. The command used to create the SSH key is ssh-keygen -t rsa -b 4096 -C "git@github.com:some_owner/some_repo.git" -m PEM
. Any ideas why this causes a failure? I can see the comments when I cat
the public key, so not sure why it is not recognised by the ssh-agent as valid
I want to access two different private repositories that contain packages for an App. I have created one ssh key for each of the two repos, added the private key to the secrets of the App-Repository and the public keys as deploy keys in the private package repositories.
My workflow looks as follow:
The public keys look like the following:
Running the workflow produces the following log:
Afterwards, the first
git clone
command works as excpected, the second one fails with the error:It's always the second clone command that fails, even if I swap the order in which the repositories are cloned.
I'm stuck and don't know if I am doing something wrong, or if this is some Bug with this Action. Any help is very appreciated!