Answer the question
In order to leave comments, you need to log in
How to connect to LXC container via SSH?
Lxc is installed on the host, there is already a configured container attached to the ip address, a configured bridge, however, when I try to connect to the container via ssh, I get a message that there is no route, maybe I didn’t do something or did it, but it’s not right when setting up. (openssh-server is set to port 2021 and I specify it in the connection parameters, I looked at the connection address through "ip addr show")
Answer the question
In order to leave comments, you need to log in
Is ping working? If so, check the firewall in the container and on the host machine
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question