Hi, there is a tiny bug in readconf.c: options->use_privileged_port is always set to 0 regardless of whether -P is specified or not. This has the effect that RhostsAuthentication is disabled even if "RhostsAuthentication yes" is specified. The (trivial) patch is appended below. Martin =======================================================================Martin Siegert Academic Computing Services phone: (604) 291-4691 Simon Fraser University fax: (604) 291-4242 Burnaby, British Columbia email: siegert at sfu.ca Canada V5A 1S6 ======================================================================= --- openssh-3.0.2p1/readconf.c.orig Wed Jan 23 19:44:13 2002 +++ openssh-3.0.2p1/readconf.c Wed Jan 23 19:44:45 2002 @@ -822,7 +822,7 @@ if (options->gateway_ports == -1) options->gateway_ports = 0; if (options->use_privileged_port == -1) - options->use_privileged_port = 0; + options->use_privileged_port = 1; if (options->rhosts_authentication == -1) options->rhosts_authentication = 1; if (options->rsa_authentication == -1)
On Thu, 24 Jan 2002 19:15:31 EST, Martin Siegert writes:> Hi, > > there is a tiny bug in readconf.c: options->use_privileged_port is always > set to 0 regardless of whether -P is specified or not. This has the effect > that RhostsAuthentication is disabled even if "RhostsAuthentication yes" > is specified.I don't believe that's a bug. The documented default for UsePrivilegedPort is 'no', which is what readconf.c does. This default has changed from previous releases. Try using "-o UsePrivilegedPort=yes" to turn it on. -- Dan Astoorian People shouldn't think that it's better to have Sysadmin, CSLab loved and lost than never loved at all. It's djast at cs.toronto.edu not, it's better to have loved and won. All www.cs.toronto.edu/~djast/ the other options really suck. --Dan Redican