Rather than setting up ssh, it may be easier to use kubectl exec to get a shell inside your pod:
kubectl exec my-pod-xxx -it /bin/sh On Friday, August 11, 2017 at 12:11:30 AM UTC-6, Eswari wrote: > > Hi, > > I have exposed my pod externally (public ip). > Tried to ssh to my pod using *ssh root@Pod_PublicIP *from my local linux > box > > But I am unable to take ssh. > Is it possible to take ssh to my pod > > > -- You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group. To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-users+unsubscr...@googlegroups.com. To post to this group, send email to kubernetes-users@googlegroups.com. Visit this group at https://groups.google.com/group/kubernetes-users. For more options, visit https://groups.google.com/d/optout.