Community: ssh to kube nodes? [AWS]

Created on 3 Mar 2017  路  4Comments  路  Source: kubernetes/community

Hi there,
How is it possible to ssh to a particular kube node [AWS environment], where I can find the pem file? I looked in kubernetes/cluster/aws/util.sh but nothing could link me out to the pem file location, I got only the fingerprint used to create the aws key

Thanks

Most helpful comment

@alouane

The perm file should be in $HOME/.ssh/kube_rsa

ssh -i <path of the private key file> admin@<ip of the aws kube instances>

hope this help

All 4 comments

How did you deploy the cluster? If you used a tool like kops you specified the key at runtime and you should have it on your local file system

well I actually used kube-up.sh script => https://kubernetes.io/docs/getting-started-guides/aws/

@alouane

The perm file should be in $HOME/.ssh/kube_rsa

ssh -i <path of the private key file> admin@<ip of the aws kube instances>

hope this help

Yep I got it

Thanks @talk2vino

Was this page helpful?
0 / 5 - 0 ratings