OpenSSH on Windows, ssh cannot |bind()| localport to port < 1023

Darren Tucker dtucker at dtucker.net
Thu Nov 23 13:41:30 AEDT 2023


On Sun, 12 Nov 2023 at 00:31, Roland Mainz <roland.mainz at nrubsig.org> wrote:
> I'm doing some testing with the ssh client OpenSSH on Windows 10
> (10.0-19045) but due to firewall restrictions I need to run my
> experiments from a local port < 1024 (not negotiable).

Do you mean "make an SSH connection from a low-numbered port"?   What
version are you using?  Exactly what command(s) are you running?  IPv4
or v6?

As of
https://github.com/openssh/openssh-portable/commit/73ddb25bae (version
7.8p1 and newer) ssh(1) just delegates the permission check to the
underlying operating system and doesn't enforce anything itself.

-- 
Darren Tucker (dtucker at dtucker.net)
GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860  37F4 9357 ECEF 11EA A6FA
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.


More information about the openssh-unix-dev mailing list