<p>SSH to GKE node private IP from the jump server (Bastion host) is not working.</p>

<p>I even tried the following as suggested by one of my friends, but it did not help.</p>

<pre><code>gcloud compute instances add-metadata $INSTANCE_NAME_OR_INSTANCE_ID --metadata block-project-ssh-keys=false --zone $YOUR_VM_ZONE --project $YOUR_PROJECT
</code></pre>

<p>Also please confirm if the solution works for Private GKE too.</p>

k_vishwanath
<p>GKE node is just a GCE VM. You can just access it as a normal GCE instance if with proper privilege and ssh key configured.</p>

<p>One thing worth to mention that <a href="https://cloud.google.com/iap/docs/using-tcp-forwarding#tunneling_with_ssh" rel="nofollow noreferrer">GCP support IAP based ssh port forwarding</a> </p>
