In a nutshell, I'd very much like to see something like GatewayPort for PermitOpen, restricting clients to just services on the machine with sshd. Currently PermitOpen can only do this if you also specify a certain port. I'd like to allow any port (it is dynamically selected), but prevent people from using the sshd machine as a springboard to other machines. The users will not get a shell, instead ssh is essentially a VPN layer to get access to more insecure network services on the machine. Bug 1513 might be related, although the focus there is on networks instead of ports. My usecase is limited to restricting to localhost.
Created attachment 1997 [details] Add port wildcard to permitopen ("permitopen localhost:*")
Retarget unresolved bugs/features to 6.0 release
Retarget unresolved bugs/features to 6.0 release (try again - bugzilla's "change several" isn't)
This has been added and will be in the 6.0 release. Thanks.
Close all resolved bugs after 7.3p1 release