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

Diff for /src/usr.bin/ssh/sshconnect.c between version 1.193 and 1.194

version 1.193, 2006/07/22 20:48:23 version 1.194, 2006/07/24 13:58:22
Line 772 
Line 772 
                 /*                  /*
                  * If strict host key checking has not been requested, allow                   * If strict host key checking has not been requested, allow
                  * the connection but without MITM-able authentication or                   * the connection but without MITM-able authentication or
                  * agent forwarding.                   * forwarding.
                  */                   */
                 if (options.password_authentication) {                  if (options.password_authentication) {
                         error("Password authentication is disabled to avoid "                          error("Password authentication is disabled to avoid "
Line 806 
Line 806 
                             "man-in-the-middle attacks.");                              "man-in-the-middle attacks.");
                         options.num_local_forwards =                          options.num_local_forwards =
                             options.num_remote_forwards = 0;                              options.num_remote_forwards = 0;
                   }
                   if (options.tun_open != SSH_TUNMODE_NO) {
                           error("Tunnel forwarding is disabled to avoid "
                               "man-in-the-middle attacks.");
                           options.tun_open = SSH_TUNMODE_NO;
                 }                  }
                 /*                  /*
                  * XXX Should permit the user to change to use the new id.                   * XXX Should permit the user to change to use the new id.

Legend:
Removed from v.1.193  
changed lines
  Added in v.1.194