ssh issue coreOS on AWS (EC2)

2/20/2015

I am following instructions on: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/getting-started-guides/coreos/coreos_multinode_cluster.md

I am trying to launch a Master with master.yaml file as a UserData. I am able to successfully launch the instance in EC2 but i cant seem to ssh to it via aws ssh key..

backend-service viralcarpenter$ ssh -i ~/Downloads/viral-kubernetes-acad-key.pem core@54.153.63.240 core@54.153.63.240's password:

Is there something that i am missing?

-- user3006942
amazon-ec2
amazon-web-services
coreos
kubernetes

1 Answer

2/21/2015

You need to have a Key Pair configured in your EC2 region and specify it when creating the instance in order to be able to SSH into it.

--key-name <keypair>
-- Shimon Tolts
Source: StackOverflow