Is there any reverse proxy for ssh or any way to reverse proxy ssh through Nginx?
I've been trying for a few weeks and have had no luck at getting anything to work.
I'm looking for something that works this way:
expose port 22 so no having to use -p xxxx and have different ports for each containers ssh
be able to ssh to containers as subdomains such as how Nginx reverse proxy does
keep the current port 80 and 443, I don't want to run ssh through 443
If nothing like this exists any ideas on how to achieve this?
-- Edit 1
The current reverse proxy I'm using is https://docs.linuxserver.io/images/docker-swag
-- Edit 2
Thanks for all the information, took me a while to try all the options.
In the end, I was not able to achieve the proxy app.domain.com:22 for several containers for reasons pointed out by w0keson.
I ended up just doing separate ports per container that need ssh.