Hi Team,
It took almost 20 min to connect, Got the below message, Can someone help.
INFO: Failed to connect via ssh: There was a problem while connecting to
172.31.15.89:22
Apr 06, 2021 3:23:36 PM hudson.plugins.ec2.EC2Cloud
INFO: Waiting for SSH to come up. Sleeping 5.
Apr 06, 2021 3:23:41 PM hudson.plugins.ec2.EC2Cloud
INFO: Connecting to 172.31.15.89 on port 22, with timeout 10000.
Apr 06, 2021 3:23:42 PM hudson.plugins.ec2.EC2Cloud
INFO: The SSH key ssh-ed25519 8f:be:9f:c3:6a:af:e0:a4:11:db:d6:22:2b:99:bb:c2 has been successfully checked against the instance console for connections to EC2 (Shortlist) - Docker builder (sir-64c8nbbp)
Apr 06, 2021 3:23:42 PM hudson.plugins.ec2.EC2Cloud
INFO: Connected via SSH.
Apr 06, 2021 3:23:42 PM hudson.plugins.ec2.EC2Cloud
INFO: connect fresh as root
Apr 06, 2021 3:23:42 PM hudson.plugins.ec2.EC2Cloud
INFO: Connecting to 172.31.15.89 on port 22, with timeout 10000.
Apr 06, 2021 3:23:42 PM hudson.plugins.ec2.EC2Cloud
INFO: Connection allowed after the host key has been verified
Apr 06, 2021 3:23:42 PM hudson.plugins.ec2.EC2Cloud
INFO: Connected via SSH.
Apr 06, 2021 3:23:42 PM hudson.plugins.ec2.EC2Cloud
INFO: Creating tmp directory (/tmp) if it does not exist
Apr 06, 2021 3:23:42 PM hudson.plugins.ec2.EC2Cloud
INFO: Verifying: java -fullversion
openjdk full version "1.8.0_282-b08"
Apr 06, 2021 3:23:42 PM hudson.plugins.ec2.EC2Cloud
INFO: Verifying: which scp
/usr/bin/scp
Apr 06, 2021 3:23:42 PM hudson.plugins.ec2.EC2Cloud
INFO: Copying remoting.jar to: /tmp
Apr 06, 2021 3:23:43 PM hudson.plugins.ec2.EC2Cloud
INFO: Launching remoting agent (via Trilead SSH2 Connection): java -jar /tmp/remoting.jar -workDir /home/ec2-user
<===[JENKINS REMOTING CAPACITY]===>Remoting version: 4.3
This is a Unix agent
Evacuated stdout
Regards
Venkat