[BACK]Return to sshd.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/sshd.c between version 1.224 and 1.225

version 1.224, 2002/02/04 12:15:25 version 1.225, 2002/02/11 16:17:55
Line 1179 
Line 1179 
          * machine, he can connect from any port.  So do not use these           * machine, he can connect from any port.  So do not use these
          * authentication methods from machines that you do not trust.           * authentication methods from machines that you do not trust.
          */           */
         if (remote_port >= IPPORT_RESERVED ||          if (options.rhosts_authentication &&
             remote_port < IPPORT_RESERVED / 2) {              (remote_port >= IPPORT_RESERVED ||
               remote_port < IPPORT_RESERVED / 2)) {
                 debug("Rhosts Authentication disabled, "                  debug("Rhosts Authentication disabled, "
                     "originating port %d not trusted.", remote_port);                      "originating port %d not trusted.", remote_port);
                 options.rhosts_authentication = 0;                  options.rhosts_authentication = 0;

Legend:
Removed from v.1.224  
changed lines
  Added in v.1.225