<p>How to SSH into a Kubernetes Node or Server hosted on AWS?
I have hosted a Kubernetes Server and Node on AWS. I'm able to see the nodes and server from my local laptop with the kubectl get node command.</p>

<p>I need to create a persistent volume for my node but I'm unable to ssh into it.</p>

<p>Is there any specific way to ssh into the node or server?</p>

<p>Use
<code>kubectl ssh node NODE_NAME</code></p>
<p>This kubectl addon is from here. <a href="https://github.com/luksa/kubectl-plugins" rel="noreferrer">https://github.com/luksa/kubectl-plugins</a>.
And I have verified that. This works similarly to the <code>oc</code> command in openshift.</p>
<p>P.S. This is connecting inside of a freshly created pod on the specified node. In that sense, you do not get access to node itself (as you wanted) but (just) a <code>privileged</code> pod</p>
