Hello all,
I'd like to have ssh access to a bunch of jails by using just a user name and going through a *single* public IP. This question has been raised before (see below) but there didn't seem to be any consensus on the best way to do it.
What is the best way to accomplish this?
My current thought is a single sshd running on the host and then using ForceCommand to jexec into the appropriate jail based on the name?
Or, something else? I don't want to use non-standard port numbers and I don't have separate, public IPs for each jail. I'm running 8.2 release.
Does anyone know how nearlyfreespeech.net does their ssh access to jails? e.g. user_name@phx.ssh.nearlyfreespeech.net goes into a jail, populated with your files.
http://forums.freebsd.org/showthread.php?t=14208
I'd like to have ssh access to a bunch of jails by using just a user name and going through a *single* public IP. This question has been raised before (see below) but there didn't seem to be any consensus on the best way to do it.
What is the best way to accomplish this?
My current thought is a single sshd running on the host and then using ForceCommand to jexec into the appropriate jail based on the name?
Or, something else? I don't want to use non-standard port numbers and I don't have separate, public IPs for each jail. I'm running 8.2 release.
Does anyone know how nearlyfreespeech.net does their ssh access to jails? e.g. user_name@phx.ssh.nearlyfreespeech.net goes into a jail, populated with your files.
http://forums.freebsd.org/showthread.php?t=14208