None of these options support port names (coming from f.e. /etc/services): -D -p -L -R ... -L and -R should also support fetching port names from the remote '/etc/services'. Right now, there's some syntax checking code that only accepts numeric values for a port. I expect this to still be an issue with the latest OpenSSH release (but I have not verified this).
This should be fixed in OpenSSH 7.9 commit 2581333d564d8697837729b3d07d45738eaf5a54 Author: naddy@openbsd.org <naddy@openbsd.org> Date: Fri Oct 5 14:26:09 2018 +0000 upstream: Support using service names for port numbers. * Try to resolve a port specification with getservbyname(3) if a numeric conversion fails. * Make the "Port" option in ssh_config handle its argument as a port rather than a plain integer. ok dtucker@ deraadt@ OpenBSD-Commit-ID: e7f03633133205ab3dfbc67f9df7475fabae660d
Close RESOLVED bugs with the release of openssh-8.0