Here is the scenario.
I have three containers.
Container1, container2, and container3 (Ubuntu based image) where the container2 acts as a router between container 1 and container2.
I will run a server program in container3 which runs indefinitely but when I initiate the connection from the client,I will collect some statistics, for the next run, I need to change some parameters in the server (using tc netem) and re run the test.
I need to SSH and execute a command in Middlerouter as well as in container3 before I go to next run.
I cannot login with SSH because it says connection refused. I have a port 22 exposed to all the containers