Has anyone encountered a way to run sslh on a Kubernetes cluster, preferably integrated with IngressController functionality (eg, nginx ingress controller)? The ability to SSH via port 80 is very interesting, but I have not been able how to integrate it with Ingress-based setups in k8s. Thx
The way I could see doing it is to package sslh in a container and deploy it and nginx together in a pod. Then change port configuration so that sslh receives all traffic that nginx would receive, and then sslh can pass along traffic to nginx on localhost, as it wants to.
Logistically, it doesn't look possible to specify a specific host to ssh into.
One would have to allow sslh to talk to sshd on the node.
So, this looks like an operational and security nightmare. :) Talk about principle of greatest surprise.