...
Code Block | ||
---|---|---|
| ||
cat >> /root/.ssh/authorized_keys << EOF past<<put the public key herehere>> EOF |
To be able to create a ssh session from a client external to kubernetes, a NodePort must be created for the session to pass through. So on a box running the kubectl client , Create the following file and fill in the NAMESPACE and NODE-PORT.
...