[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.18 and 1.19

version 1.18, 1999/10/14 20:03:44 version 1.19, 1999/10/15 20:51:01
Line 1205 
Line 1205 
     if (options->check_host_ip) {      if (options->check_host_ip) {
       if (ip_status != HOST_CHANGED) {        if (ip_status != HOST_CHANGED) {
         error("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@");          error("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@");
         error("@       WARNING: POSSIBLE DNS SPOOFNG DETECTED!           @");          error("@       WARNING: POSSIBLE DNS SPOOFING DETECTED!          @");
         error("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@");          error("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@");
         error("The host key for %s has changed,", host);          error("The host key for %s has changed,", host);
         error("but the key for the according IP address %s has", ip);          error("but the key for the according IP address %s has", ip);
Line 1232 
Line 1232 
       fatal("Host key for %.200s has changed and you have requested strict checking.", host);        fatal("Host key for %.200s has changed and you have requested strict checking.", host);
   
     /* If strict host key checking has not been requested, allow the      /* If strict host key checking has not been requested, allow the
        connection but without password authentication. */         connection but without password authentication or
     error("Password authentication is disabled to avoid trojan horses.");         agent forwarding. */
     options->password_authentication = 0;      if (options->password_authentication) {
         error("Password authentication is disabled to avoid trojan horses.");
         options->password_authentication = 0;
       }
       if (options->forward_agent) {
         error("Agent forwarding is disabled to avoid trojan horses.");
         options->forward_agent = 0;
       }
     /* XXX Should permit the user to change to use the new id.  This could      /* XXX Should permit the user to change to use the new id.  This could
        be done by converting the host key to an identifying sentence, tell         be done by converting the host key to an identifying sentence, tell
        that the host identifies itself by that sentence, and ask the user         that the host identifies itself by that sentence, and ask the user

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19