I need a user that connects to my host with ssh, which is forwarded into a lxc-container.
My solution is:
Match User monitoring ChrootDirectory /data/foreign_projects/monitoring ForceCommand lxc-console -n monitoring_lxc
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community