Step 1: - Connect to bastion host using below command

  • ssh -i “bh-emr-keypair.pem” ec2-user@ec2-18-204-243-175.compute-1.amazonaws.com

  • Here key pair is - “bh-emr-keypair.pem”

ec2_emr

  • Chmod 400

Step 3 : Once connected run ls-la command to confirm the keypair available there

Step 4 : Connect to the EKS node group using below command

  • ssh -i “bh-emr-kp.pem” ec2-user@17.0.3.181