# Unable to ssh to Amazon PMM image

**URL:** <https://forums.percona.com/t/unable-to-ssh-to-amazon-pmm-image/5967>\
**Category:** PMM 1.x\
**Created:** [October 31, 2017, 12:25pm UTC](https://forums.percona.com/t/unable-to-ssh-to-amazon-pmm-image/5967 "2017-10-31T12:25:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![peterson](https://avatars.discourse-cdn.com/v4/letter/p/db5fbb/32.png) [@peterson](https://forums.percona.com/u/peterson)\
**Post date:** [October 31, 2017, 12:25pm UTC](https://forums.percona.com/t/unable-to-ssh-to-amazon-pmm-image/5967/1 "2017-10-31T12:25:43Z")

</div>

I’ve created a t2.micro image of PMM in US West region. I can connect to the IP address given. I had created a personal Key Pair and selected when starting up this PMM image. But am unable to connect to the host. Yes, I did chmod 400 to the pem file.

$ ssh -i ~/.ssh/EricPeterson.pem root@10.60.22.236  
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).

I need host access to be able to do pmm-admin logging of remote Amazon Aurora instances in this region. I suspect that when the host was started up that my public key was not installed in the host.

---

<div class="post-metadata">

**Author:** ![adaam](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/adaam/32/1191_2.png) [@adaam](https://forums.percona.com/u/adaam)\
**Post date:** [November 8, 2017, 12:56am UTC](https://forums.percona.com/t/unable-to-ssh-to-amazon-pmm-image/5967/2 "2017-11-08T00:56:37Z")

</div>

The user is admin for this AMI

Try  
$ ssh -i ~/.ssh/EricPeterson.pem admin@10.60.22.236

---

<div class="post-metadata">

**Author:** ![peterson](https://avatars.discourse-cdn.com/v4/letter/p/db5fbb/32.png) [@peterson](https://forums.percona.com/u/peterson)\
**Post date:** [November 10, 2017, 2:56pm UTC](https://forums.percona.com/t/unable-to-ssh-to-amazon-pmm-image/5967/3 "2017-11-10T14:56:23Z")

</div>

epeterson@5cg620381x $ ssh -i ~/.ssh/EricPeterson.pem admin@10.60.22.236  
ssh: connect to host 10.60.22.236 port 22: Operation timed out
