I use the 'PermitOpen' keyword in 'sshd_config' configuration file in sshd 4.5p1 Cygwin implementation for specify what TCP port forward are permitted. This keyword work fine when I define only one port forward but when I specify multiple ports forward only the first one is considered. I write the keyword originally as: PermitOpen 192.168.0.1:8091 192.168.0.2:2560 192.168.0.3:25 192.168.0.3:110 I change it with commas, with multiple permitopen keyword, with â, etc. and in all occasion only the first forward is authorized.
Created attachment 1220 [details] Fix PermitOpen for multiple entries Does this patch resolve your problem?
(In reply to comment #1) > Created an attachment (id=1220) [details] > Fix PermitOpen for multiple entries > Does this patch resolve your problem? Yes work fine. The statement must be in the format PermitOpen 192.168.0.1:8091 192.168.0.2:2560 192.168.0.3:25 192.168.0.3:110 Other format (with commas between the IPs, using = before the first IP or enclosed the Ips) donât work or generate and error in the service start.
Close resolved bugs after release.