5 ms·
No patches nessecary :) I use this quite successfully in my ~/.ssh/config currently. With some options baked on, You probably could disable encryption too:
by jasonjayr 10y ago
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
- geofft 10y agoHah, 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.)