How can I make SSH work ? Any LXC container that I create, SSH is not working by default. Is there a way to make it works without enabling #PermitRoot in the sshd config?
Run pct enter CTID on the Proxmox host (replace CTID with the number of the container) to login to the container as root. You can then enable root login by editting /etc/ssh/sshd_config or add a (sudo) user for logging in.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.