points by tonnydourado 2 days ago | 0 comments
Who's out there running sshd inside a docker container? It's almost MORE work than exec-ing into the container.
[–] cluckindan 2 days ago
Probably a lot of companies which have their own k8s cluster and segregate kubectl access to operations only. Developers still need a way to their app backend in some cases.
[–] chuckadams 2 days ago
Kubernetes already comes with better solutions for that sort of thing. I could see a ssh bastion container for bridging to legacy infrastructure though. Manage its keys right and it's probably more secure than a lot of alternatives.
[–] jbvlkt 2 days ago
Even if you do that why would you allow it outside VPN?
[–] cluckindan 1 day ago
You wouldn’t, but it would still remain an avenue for lateral movement
[–] zbentley 2 days ago
Several CICD solutions which offer "shell into container to debug a build failure".
You'd think they'd all do the smart thing and exec a shell into the container's namespace. You'd be wrong.
[–] Jolter 2 days ago
I have done that in the past, in order to be able to automate copying files to the container during testing or data migration. It was an ugly hack and now I need to make double sure none of those containers are still running…
[–] Brian_K_White 2 days ago
Everyone who has access to their container and not the host except by some terrible vnc or web console.
[–] hylaride 2 days ago