I have a problem with the EC2 plugin.
1. Amazon EC2 Credentials work, after entering credentials in the Jenkins, I am able to select the credential and it connects, is able to properly populate the region
2. I've tried using three different ssh keys, first ECDSA, second RSA 3072 bits, third RSA 2048. With all of them, clicking the Test Connection button returns the error "A problem occurred while processing the request."
3. From the logs, the first few lines of the java exception is:
Mar 06, 2025 2:35:03 PM WARNING hudson.init.impl.InstallUncaughtExceptionHandler handleException
Caught unhandled exception with ID 1560e6da-9308-4daa-aa0c-e008e82496f3
java.io.IOException: unrecognised object: OPENSSH PRIVATE KEY
at org.bouncycastle.openssl.PEMParser.readObject(Unknown Source)
at jenkins.bouncycastle.api.PEMEncodable.decode(PEMEncodable.java:170)
at jenkins.bouncycastle.api.PEMEncodable.decode(PEMEncodable.java:150)
4. The timestamp on the log entry shows it happens immediately.
5. All three ssh keys were created on a Mac
Jenkins version 2.419
Amazon EC2 Version1715.vb_9e9e841ca_94
Looking at the EC2 console, I see that no instance is created.
I currently have no idea what's going on, was hoping someone here might be able to help.
Thanks in advance
JBB