SymptomsService Container (SCT) does not allow to establish connection to 22 port from outside of PVC host. SCT is configured as following:
- SCT has been created in Compatibility Mode;
- SCT has IP address which is accessible from outside of PVC host;
- SCT has NAT disabled (NatIsOn is "0" or does not exist in 1.conf file).
CauseThe connection to 22 port is blocked by firewall rule inside SCT. By default the rule allows network connection only from IP address of Virtuozzo Virtual Connection.
ResolutionSolution is to modify the firewall rule inside SCT to allow network connections from any IPs. The following command can be run on the PVC host to apply changes:
vzctl exec 1 netsh advfirewall firewall set rule name = "ssh tcp" new remoteip = any