• caglararli@hotmail.com
  • 05386281520

Is it a good idea to run openssh-server into a docker container?

Çağlar Arlı      -    58 Views

Is it a good idea to run openssh-server into a docker container?

I want to have a server where I can connect many computers and open reverse tunnels, and then when I want to connect to those tunnels, I will SSH into the server and forward my local connection to it, therefore not exposing the reverse tunnels to the whole web.

I want this to have snort and fail2ban as well so the idea is to do a docker compose, so I can keep track of everything and I can simply destroy and create this server many times effortlessly on demand.

The question is: is there any problems in having a container with the ssh server? If so, what is the best way to run it safely?