Lets say i have a machine with a few virtual machines on them, how would i forward ssh connections to those virtual machines without giving access to the host machine? Is it possible to do so with only a single port exposed to the outside world? This would also apply to a machine, with some other machines behind it.
I would like to do the redirect based on which keys are used, or perhaps based on a flag set in the ssh command on the client.