I have two servers connected to the internet. Both can reach each other via ssh.
One should be the kubernetes master node and one i'd like to be a worker node.
How can i connect the worker node only via ssh. I do not want to open other ports than 22.
Edit: @Community Don't know how to limit it more? What is not specific enough? My problem is: i have a vm which should run as a kubernetes worker node. The only port i want to open on that vm is port 22 (ssh). How can i connect such a box as a worker node to a kubernetes cluster, working on another machine where also only port 22 is open. Any Ideas?