title: No SSH tunnels currently open. Were the targets able to accept an ssh-key for use
body: <p>I created a kubernetes cluster on GCP with the vm instance having ubuntu images. I have deployed a postgres stateful set but when I try to check the logs of the pod I end up seeing the following.</p>
  
  <pre><code>kubectl logs pgset-1
  Error from server: Get https://10.140.0.5:10250/containerLogs/default/pgset-1/pgset: No SSH tunnels currently open. Were the targets able to accept an ssh-key for user "gke-2bdc75f7d50bd7720226"?
  
  
  kubectl get pods
  NAME                                                             READY     STATUS    RESTARTS   AGE
  maya-apiserver-5b48756968-95887                                  1/1       Running   0          1h
  openebs-provisioner-7b59878f76-9w5z8                             1/1       Running   0          1h
  pgset-0                                                          1/1       Running   0          12m
  pgset-1                                                          1/1       Running   0          10m
  pvc-8174e1f6-332f-11e8-85cd-42010af001b0-ctrl-fb5767469-jmjb2    2/2       Running   0          12m
  pvc-8174e1f6-332f-11e8-85cd-42010af001b0-rep-8fd886589-tkvdq     1/1       Running   0          12m
  pvc-8174e1f6-332f-11e8-85cd-42010af001b0-rep-8fd886589-wzr25     1/1       Running   0          12m
  pvc-8174e1f6-332f-11e8-85cd-42010af001b0-rep-8fd886589-xvvfk     1/1       Running   0          12m
  pvc-c34d6531-332f-11e8-85cd-42010af001b0-ctrl-6dd8948cbd-lz7dj   2/2       Running   0          10m
  pvc-c34d6531-332f-11e8-85cd-42010af001b0-rep-64bdd45fc7-7fpnv    1/1       Running   0          10m
  pvc-c34d6531-332f-11e8-85cd-42010af001b0-rep-64bdd45fc7-cf6w9    1/1       Running   0          10m
  pvc-c34d6531-332f-11e8-85cd-42010af001b0-rep-64bdd45fc7-pg7bz    1/1       Running   0          10m
  
  
  
  kubectl exec -it pgset-0 bash
  Error from server: error dialing backend: No SSH tunnels currently open. Were the targets able to accept an ssh-key for user "gke-2bdc75f7d50bd7720226"?
  </code></pre>
  
  <p>What could possibly be the issue here. What am I doing wrong.</p>