ec2-github-runner icon indicating copy to clipboard operation
ec2-github-runner copied to clipboard

Is there a way to choose an SSH key pair?

Open calmitchell617 opened this issue 4 years ago • 1 comments

I'd like to be able to SSH into the machine manually to verify things. Is there a way to specify which SSH pair the EC2 instance uses?

Sorry if this was answered in the doc, I didn't see anything in there.

calmitchell617 avatar Sep 29 '21 09:09 calmitchell617

I don't think you can currently specify an EC2 keypair thru this action.

One possible workaround would be to bake in the SSH public key(s) in the AMI.

That said, this looks like a another use case for #65 (you could specify a keypair in an EC2 launch template).

/cc @machulav

jpalomaki avatar Sep 30 '21 19:09 jpalomaki