News for hackers. Stuff that matters.
Re:Docker: insecure opening of file-descriptor allows privil... by jasonjayr on Thursday January 12, 2017 @03:25PM (#13385779)
No patches nessecary :) I use this quite successfully in my ~/.ssh/config currently. With some options baked on, You probably could disable encryption too:

    Host web
        LogLevel QUIET
        ForwardAgent yes
        ProxyCommand setsid lxc-attach -q -n web01 --clear-env -- /usr/sbin/sshd -i
Re:Docker: insecure opening of file-descriptor allows privil... by geofft on Thursday January 12, 2017 @03:29PM (#13385803)
Hah, that is so close to the design I'm advocating, except that lxc-attach is yet another command in the mold of runc exec or sudo :-)

That design certainly lets lxc-attach permit only running sshd, though, which is a benefit. (And I forgot about sshd -i, which you could presumably point at a UNIX socket using socat or something.)