# Kitchen-EC2 Waiting for SSH Service" loop Error(Ubuntu Image)!

**URL:** https://discourse.chef.io/t/kitchen-ec2-waiting-for-ssh-service-loop-error-ubuntu-image/9003
**Category:** Chef Infra (archive)
**Created:** [July 23, 2016, 1:35pm UTC](https://discourse.chef.io/t/kitchen-ec2-waiting-for-ssh-service-loop-error-ubuntu-image/9003 "2016-07-23T13:35:42Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![imewish](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/imewish/32/1495_2.png) [@imewish](https://discourse.chef.io/u/imewish)
#### Post date: [July 26, 2016, 5:46am UTC](https://discourse.chef.io/t/kitchen-ec2-waiting-for-ssh-service-loop-error-ubuntu-image/9003/5 "2016-07-26T05:46:43Z")

</div>

Manual SSH is nothing related with config. i just put this to manual ssh,

`ssh -i "sysadmin.pem" ubuntu@10.10.70.176`  
Here’s my kitchen.yml file here. Please chef if anything is wrong in it,

```
---
driver:
  name: ec2
  aws_ssh_key_id: sysadmin
  region: ap-south-1
  instance_type: t2.micro  
  security_group_ids: ["sg-xxxxx"]
  subnet_id: subnet-xxxxx
  require_chef_omnibus: true

transport:
  ssh_key: .ssh/sysadmin.pem
  

provisioner:
  name: chef_zero

platforms:
  - name: ubuntu-16.04
    image_id: ami-fbe83c98
  

suites:
  - name: default
    run_list:
      - recipe[my-elasticsearch::default]
    attributes:
      java:
        jdk_version: "8"
```

---

_[View the full topic](https://discourse.chef.io/t/kitchen-ec2-waiting-for-ssh-service-loop-error-ubuntu-image/9003)._
