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"