Created attachment 1365 [details] fix for the bug the check whether ports were parsed OK is not correct; it doesn't recognize when only one of the ports is incorrect: # ./ssh -L 99999:localhost:4444 localhost Password: # ./ssh -L 99999:localhost:88888 localhost Bad local forwarding specification '99999:localhost:88888' this happens only when root uses ssh(1). Unprivileged client gets an error "privileged port". patch attached.
fix has been applied - thanks.
Fix shipped in 4.9/4.9p1 release.