title: Adding pem key to jenkins box
body: <p>I have a jenkins box, I have ssh in to it and from there I want to access one of the Ec2 instance in AWS, I tried ssh -i "mykeyname.pem" ec2-user@DNSname  but It throws me an error "Permission denied (publickey,gssapi-keyex,gssapi-with-mic)".
  I have the PEM file of the EC2 instance I want to connect. But is there any way I can ssh in to the instance..?</p>