ec2-github-runner
ec2-github-runner copied to clipboard
Is there a way to choose an SSH key pair?
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.
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