467
Meet *sshole, the vulnerability that lets hackers SSH into Linux devices
(arstechnica.com)
This is a most excellent place for technology news and articles.
Why would you even have an SSH server running in a Docker container (unless the purpose of the container is being a jumpbox or similar)?
I can't emphasise it enough how much more secure you get when you use rootless, read-only containers that are limited to truly just the software you want to run and its dependencies.
Alpine is great for dev containers, but the final container should be:
While I have not done it, I could see it being appealing as it's quicker than SSHing into the parent box first for a commonly used tool. I had a direct SSH into a systemd container for a while before deciding the extra config wasn't worth it.
Could that not be configured with a proxyjump through the host machine still, if one needed to have this?
Not just rootless and read-only, but distroless/chiseled too. There's no reason to have unneeded parts of an OS in your Docker containers. It should just be one app along with any libraries it needs (or just statically compile the app)
https://wiki.alpinelinux.org/wiki/Runc#Set_up_a_minimal_container
What's wrong with a rootless jumpbox?
Nothing, my point was that SSH in a container is unnecessary unless it's for the specific purpose of the container.