Hi, I'm using Jenkins Amazon EC2 plugin and have been able to launch build agents successfully. However, I still have one question unresolved.
On the plugin page, I see I need to specify*"EC2 Key Pair's Private Key"* which is the private key that the plugin uses to SSH into the launched build agents.However, I'm *not seeing* an option to specify the corresponding public key to put into the launched agent as the "authorized key". The thing is: In my AWS account, I have several key pairs for different purposes, and I would like to use one of them for the build agents. *That's why I thought* there should be somewhere on the Jenkins plugin config page to specify this public key to be put into the launched agents. But I don't find it. Surprisingly, when I examined my launched agents, it looked like they had the correct public key set in its `~/.ssh/authorized_keys` file. *Does anyone know how this is done?* *Does the plugin test every key pair in my AWS account (since the plugin has my IAM credentials) to find the matched public key and put it into the agents?* (I looked at the plugin's Groovy script configuration and don't find this option, either.) Best, Yaobin -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/3aa93c0e-3b90-4740-b2e2-07b0449847d7n%40googlegroups.com.