How To SSH Into An EKS Worker Node

Sometimes you need to ssh into an EKS node, and not a pod.

To do that, I use luksa/kubectl-plugins.

He provides a provider-agnostic way to get a shell into a worker node if you have cluster-admin privileges.

There’s no need to manage any ssh keys either.

kubectl ssh node my-node     # access a node in a multi-node cluster

You can look at the README to see how to install the plugins. Unfortunately, it’s not available with krew yet.

Like what you've read?

If you're an engineering leader or developer, you should subscribe to my 80/20 DevOps Newsletter. Give me 1 minute of your day, and I'll teach you essential DevOps skills. I cover topics like Kubernetes, AWS, Infrastructure as Code, and more.

Not sure yet? Check out the archive.

Unsubscribe at any time.