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.


Master GitHub Actions with a Senior Infrastructure Engineer

As a senior staff infrastructure engineer, I share exclusive, behind-the-scenes insights that you won't find anywhere else. Get the strategies and techniques I've used to save companies $500k in CI costs and transform teams with GitOps best practices—delivered straight to your inbox.

Not sure yet? Check out the archive.

Unsubscribe at any time.